diff options
author | 2020-10-15 18:50:17 +0200 | |
---|---|---|
committer | 2020-10-21 20:25:05 +0200 | |
commit | f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d (patch) | |
tree | a782f21ca0659eda6b9b667e197c4927490a7bc4 /examples/init.rs | |
parent | 355cb82d0693fe108ac28ec8a0d77e8aab4e6e06 (diff) | |
download | rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.tar.gz rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.tar.zst rtic-f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d.zip |
Updated examples
More work
Diffstat (limited to 'examples/init.rs')
-rw-r--r-- | examples/init.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/init.rs b/examples/init.rs index 6ac284a1..ca67a2b7 100644 --- a/examples/init.rs +++ b/examples/init.rs @@ -5,11 +5,12 @@ #![no_main] #![no_std] -use cortex_m_semihosting::{debug, hprintln}; use panic_semihosting as _; #[rtic::app(device = lm3s6965, peripherals = true)] mod app { + use cortex_m_semihosting::{debug, hprintln}; + #[init] fn init(cx: init::Context) -> init::LateResources { static mut X: u32 = 0; |