Skip to content

Commit 66721f6

Browse files
committed
Some test cleanup
1 parent 0c17caa commit 66721f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testsuite/tests/timer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33

44
use core::sync::atomic::{AtomicBool, Ordering};
55

6-
use cortex_m::interrupt::InterruptNumber;
76
use defmt_rtt as _;
87
use panic_probe as _;
98

109
use stm32f3xx_hal as hal;
1110

1211
use hal::rcc::{Clocks, APB1};
13-
use hal::timer::{self, Event, Instance, MonoTimer, Timer};
12+
use hal::timer::{self, Event, MonoTimer, Timer};
1413
use hal::{interrupt, pac, prelude::*};
1514

1615
use pac::TIM2;
@@ -126,4 +125,5 @@ fn TIM2() {
126125
assert!(cortex_m::peripheral::NVIC::is_active(
127126
<pac::TIM2 as timer::interrupts::InterruptNumber>::INTERRUPT
128127
));
129-
cortex_m::peripheral::NVIC::mask(<pac::TIM2 as timer::interrupts::InterruptNumber>::INTERRUPT); }
128+
cortex_m::peripheral::NVIC::mask(<pac::TIM2 as timer::interrupts::InterruptNumber>::INTERRUPT);
129+
}

0 commit comments

Comments
 (0)