change split_features from array to Vec

This commit is contained in:
JuliDi 2023-09-27 21:02:26 +02:00
parent 49608714aa
commit 5c83179071
No known key found for this signature in database
GPG Key ID: E1E90AE563D09D63

View File

@ -95,7 +95,7 @@ fn main() {
}
// Extra analog switch pins available on most H7 chips
let split_features = [
let split_features: Vec<SplitFeature> = vec![
#[cfg(feature = "split-pa0")]
SplitFeature {
feature_name: "split-pa0".to_string(),