aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/timer/simple_pwm.rs1
1 files changed, 1 insertions, 0 deletions
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 {
423 ) 423 )
424 .await 424 .await
425 } 425 }
426 #[cfg(not(stm32l0))]
426 TimerBits::Bits32 => { 427 TimerBits::Bits32 => {
427 // the data must be aligned to quad words 428 // the data must be aligned to quad words
428 assert!(duty.len() % 4 == 0); 429 assert!(duty.len() % 4 == 0);