diff --git a/src/board.rs b/src/board.rs index 22c804f..993ebe7 100644 --- a/src/board.rs +++ b/src/board.rs @@ -448,7 +448,7 @@ fn spi4_setup(spi4: &pac::SPI4) { fn tim2_setup(tim2: &pac::TIM2) { tim2.psc.write(|w| w.psc().bits(200 - 1)); // from 200 MHz - tim2.arr.write(|w| unsafe { w.bits(2 - 1) }); // ‘s + tim2.arr.write(|w| unsafe { w.bits(2 - 1) }); // 2 µs tim2.dier.write(|w| w.ude().set_bit()); tim2.egr.write(|w| w.ug().set_bit()); tim2.cr1.modify(|_, w| w.dir().clear_bit()); // up