diff options
Diffstat (limited to 'examples/t-spawn.rs')
-rw-r--r-- | examples/t-spawn.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/t-spawn.rs b/examples/t-spawn.rs index 35831ccf..72143c5b 100644 --- a/examples/t-spawn.rs +++ b/examples/t-spawn.rs @@ -8,7 +8,7 @@ use panic_halt as _; #[rtic::app(device = lm3s6965)] -const APP: () = { +mod app { #[init(spawn = [foo, bar, baz])] fn init(c: init::Context) { let _: Result<(), ()> = c.spawn.foo(); @@ -60,4 +60,4 @@ const APP: () = { extern "C" { fn SSI0(); } -}; +} |