From eae0512459fc34699b242ef527c883e6de35a32d Mon Sep 17 00:00:00 2001 From: Joseph Penafiel <47262948+josephpenafiel@users.noreply.github.com> Date: Tue, 9 Jul 2019 10:08:51 -0500 Subject: [PATCH] added missing import NVIC wasn't imported from the stm32f30x crate --- examples/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/device.rs b/examples/device.rs index 9f333ed..6629bde 100644 --- a/examples/device.rs +++ b/examples/device.rs @@ -27,7 +27,7 @@ extern crate panic_halt; use cortex_m::peripheral::syst::SystClkSource; use cortex_m_rt::entry; use cortex_m_semihosting::hprint; -use stm32f30x::{interrupt, Interrupt}; +use stm32f30x::{interrupt, Interrupt, NVIC}; #[entry] fn main() -> ! {