aboutsummaryrefslogtreecommitdiff
path: root/examples/idle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle.rs')
-rw-r--r--examples/idle.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/idle.rs b/examples/idle.rs
index 58c3c87d..1aac56c2 100644
--- a/examples/idle.rs
+++ b/examples/idle.rs
@@ -5,11 +5,12 @@
#![no_main]
#![no_std]
-use cortex_m_semihosting::{debug, hprintln};
use panic_semihosting as _;
#[rtic::app(device = lm3s6965)]
mod app {
+ use cortex_m_semihosting::{debug, hprintln};
+
#[init]
fn init(_: init::Context) -> init::LateResources {
hprintln!("init").unwrap();