aboutsummaryrefslogtreecommitdiff
path: root/examples/hardware.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hardware.rs')
-rw-r--r--examples/hardware.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/hardware.rs b/examples/hardware.rs
index f6a2d375..99e8da2e 100644
--- a/examples/hardware.rs
+++ b/examples/hardware.rs
@@ -5,12 +5,13 @@
#![no_main]
#![no_std]
-use cortex_m_semihosting::{debug, hprintln};
-use lm3s6965::Interrupt;
use panic_semihosting as _;
#[rtic::app(device = lm3s6965)]
mod app {
+ use cortex_m_semihosting::{debug, hprintln};
+ use lm3s6965::Interrupt;
+
#[init]
fn init(_: init::Context) -> init::LateResources {
// Pends the UART0 interrupt but its handler won't run until *after*