Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit eae0512

Browse files
added missing import
NVIC wasn't imported from the stm32f30x crate
1 parent 9610e04 commit eae0512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern crate panic_halt;
2727
use cortex_m::peripheral::syst::SystClkSource;
2828
use cortex_m_rt::entry;
2929
use cortex_m_semihosting::hprint;
30-
use stm32f30x::{interrupt, Interrupt};
30+
use stm32f30x::{interrupt, Interrupt, NVIC};
3131

3232
#[entry]
3333
fn main() -> ! {

0 commit comments

Comments
 (0)