diff options
Diffstat (limited to 'examples/message.rs')
-rw-r--r-- | examples/message.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/message.rs b/examples/message.rs index 596f2449..3f14a5a4 100644 --- a/examples/message.rs +++ b/examples/message.rs @@ -9,7 +9,7 @@ use cortex_m_semihosting::{debug, hprintln}; use panic_semihosting as _; #[rtic::app(device = lm3s6965)] -const APP: () = { +mod app { #[init(spawn = [foo])] fn init(c: init::Context) { c.spawn.foo(/* no message */).unwrap(); @@ -49,4 +49,4 @@ const APP: () = { extern "C" { fn SSI0(); } -}; +} |