Skip to content

Commit 7b24ce2

Browse files
committed
remove prescaler
1 parent 931876d commit 7b24ce2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/stopwatch.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ fn main() -> ! {
3131
#[cfg(feature = "stm32g0x0")]
3232
let mut stopwatch = dp.TIM3.stopwatch(&mut rcc);
3333

34-
stopwatch.set_prescaler(0);
35-
3634
let elapsed_us = stopwatch.trace(|| {
3735
delay.delay(100.us());
3836
});

0 commit comments

Comments
 (0)