diff options
Diffstat (limited to 'examples/smallest.rs')
-rw-r--r-- | examples/smallest.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/examples/smallest.rs b/examples/smallest.rs index c1537168..7b26a852 100644 --- a/examples/smallest.rs +++ b/examples/smallest.rs @@ -1,17 +1,10 @@ //! examples/smallest.rs -#![deny(unsafe_code)] -#![deny(warnings)] #![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: () = {}; |