aboutsummaryrefslogtreecommitdiff
path: root/examples/binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/binds.rs')
-rw-r--r--examples/binds.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/binds.rs b/examples/binds.rs
index 42010ae2..f681aa57 100644
--- a/examples/binds.rs
+++ b/examples/binds.rs
@@ -5,13 +5,14 @@
#![no_main]
#![no_std]
-use cortex_m_semihosting::{debug, hprintln};
-use lm3s6965::Interrupt;
use panic_semihosting as _;
// `examples/interrupt.rs` rewritten to use `binds`
#[rtic::app(device = lm3s6965)]
mod app {
+ use cortex_m_semihosting::{debug, hprintln};
+ use lm3s6965::Interrupt;
+
#[init]
fn init(_: init::Context) -> init::LateResources {
rtic::pend(Interrupt::UART0);