Skip to content

Commit 7767eb7

Browse files
committed
Switch back to MonoTimer from HAL
According to stm32-rs/stm32f3xx-hal#247 it got removed accidentially and has been resurrected. There is no need for the local copy from here.
1 parent 0216f34 commit 7767eb7

File tree

2 files changed

+1
-57
lines changed

2 files changed

+1
-57
lines changed

src/11-usart/auxiliary/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ pub use cortex_m::{asm::bkpt, iprint, iprintln, peripheral::ITM};
99
pub use cortex_m_rt::entry;
1010
pub use stm32f3_discovery::stm32f3xx_hal::pac::usart1;
1111

12-
pub mod monotimer;
13-
1412
use stm32f3_discovery::stm32f3xx_hal::{
1513
prelude::*,
1614
serial::Serial,
1715
pac::{self, USART1},
16+
timer::MonoTimer,
1817
};
19-
use monotimer::MonoTimer;
2018

2119
pub fn init() -> (&'static mut usart1::RegisterBlock, MonoTimer, ITM) {
2220
let cp = cortex_m::Peripherals::take().unwrap();

src/11-usart/auxiliary/src/monotimer.rs

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)