diff --git a/embassy-stm32/src/timer/simple_pwm.rs b/embassy-stm32/src/timer/simple_pwm.rs index e3c790213..0fc2a1bf0 100644 --- a/embassy-stm32/src/timer/simple_pwm.rs +++ b/embassy-stm32/src/timer/simple_pwm.rs @@ -423,6 +423,7 @@ macro_rules! impl_waveform_chx { ) .await } + #[cfg(not(stm32l0))] TimerBits::Bits32 => { // the data must be aligned to quad words assert!(duty.len() % 4 == 0);