Skip to content

Commit 811dbc0

Browse files
committed
Remove start and stop timer functions, as they don't work and aren't possible
1 parent 624f643 commit 811dbc0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

rtic-monotonics/src/stm32.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,6 @@ macro_rules! make_timer {
301301
cortex_m::peripheral::NVIC::pend(pac::Interrupt::$timer);
302302
}
303303

304-
fn enable_timer() {
305-
$timer.dier().modify(|r| r.set_ccie(1, true));
306-
}
307-
308-
fn disable_timer() {
309-
$timer.dier().modify(|r| r.set_ccie(1, false));
310-
}
311-
312304
fn on_interrupt() {
313305
// Full period
314306
if $timer.sr().read().uif() {

0 commit comments

Comments
 (0)