Skip to content

Commit a3a8dee

Browse files
committed
refactor: exclude stm32l0 for 32bit timer branch
Signed-off-by: Liu Hancheng <[email protected]>
1 parent e2c8661 commit a3a8dee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

embassy-stm32/src/timer/simple_pwm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ macro_rules! impl_waveform_chx {
423423
)
424424
.await
425425
}
426+
#[cfg(not(stm32l0))]
426427
TimerBits::Bits32 => {
427428
// the data must be aligned to quad words
428429
assert!(duty.len() % 4 == 0);

0 commit comments

Comments
 (0)