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