change split_features from array to Vec
This commit is contained in:
parent
49608714aa
commit
5c83179071
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue