From a3a8dee57906bffdd2a6f29c46abab48bfe0b2c3 Mon Sep 17 00:00:00 2001 From: Liu Hancheng Date: Wed, 1 Jan 2025 17:28:37 +0800 Subject: [PATCH] refactor: exclude stm32l0 for 32bit timer branch Signed-off-by: Liu Hancheng --- embassy-stm32/src/timer/simple_pwm.rs | 1 + 1 file changed, 1 insertion(+) 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);