aboutsummaryrefslogtreecommitdiff
path: root/examples/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/task.rs')
-rw-r--r--examples/task.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/task.rs b/examples/task.rs
index f3d916f3..60591b9f 100644
--- a/examples/task.rs
+++ b/examples/task.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 {
foo::spawn().unwrap();