added missing import

NVIC wasn't imported from the stm32f30x crate
This commit is contained in:
Joseph Penafiel
2019-07-09 10:08:51 -05:00
committed by GitHub
parent 9610e04635
commit eae0512459

View File

@@ -27,7 +27,7 @@ extern crate panic_halt;
use cortex_m::peripheral::syst::SystClkSource; use cortex_m::peripheral::syst::SystClkSource;
use cortex_m_rt::entry; use cortex_m_rt::entry;
use cortex_m_semihosting::hprint; use cortex_m_semihosting::hprint;
use stm32f30x::{interrupt, Interrupt}; use stm32f30x::{interrupt, Interrupt, NVIC};
#[entry] #[entry]
fn main() -> ! { fn main() -> ! {