Skip to content

Commit 836307a

Browse files
author
Henrik Snöman
committed
Etr source not available for stm32l0
1 parent 265903d commit 836307a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

embassy-stm32/src/timer/low_level.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,7 @@ impl<'d, T: GeneralInstance4Channel> Timer<'d, T> {
10271027
}
10281028

10291029
/// Set Timer Etr_in Source
1030+
#[cfg(not(stm32l0))]
10301031
pub fn set_etr_in_source(&self, val: u8) {
10311032
self.regs_gp16().af1().modify(|w| w.set_etrsel(val));
10321033
}

0 commit comments

Comments
 (0)