diff options
| author | JuliDi <[email protected]> | 2023-09-27 21:02:26 +0200 |
|---|---|---|
| committer | JuliDi <[email protected]> | 2023-10-01 12:32:47 +0200 |
| commit | 5c831790714c3b358046cf1be81ac530032dc688 (patch) | |
| tree | d9f399623f21761918ba8cf2768a079a28bd9224 | |
| parent | 49608714aaa509bd7720c2e8b68b3bf743cdfb39 (diff) | |
change split_features from array to Vec
| -rw-r--r-- | embassy-stm32/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index 717da9049..005ec5280 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs | |||
| @@ -95,7 +95,7 @@ fn main() { | |||
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | // Extra analog switch pins available on most H7 chips | 97 | // Extra analog switch pins available on most H7 chips |
| 98 | let split_features = [ | 98 | let split_features: Vec<SplitFeature> = vec![ |
| 99 | #[cfg(feature = "split-pa0")] | 99 | #[cfg(feature = "split-pa0")] |
| 100 | SplitFeature { | 100 | SplitFeature { |
| 101 | feature_name: "split-pa0".to_string(), | 101 | feature_name: "split-pa0".to_string(), |
