diff options
Diffstat (limited to 'examples/smallest.rs')
-rw-r--r-- | examples/smallest.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/examples/smallest.rs b/examples/smallest.rs index c1537168..e4228061 100644 --- a/examples/smallest.rs +++ b/examples/smallest.rs @@ -5,13 +5,8 @@ #![no_main] #![no_std] -// panic-handler crate -extern crate panic_semihosting; - +use panic_semihosting as _; // panic handler use rtfm::app; #[app(device = lm3s6965)] -const APP: () = { - #[init] - fn init(_: init::Context) {} -}; +const APP: () = {}; |