diff options
Diffstat (limited to 'examples/t-binds.rs')
-rw-r--r-- | examples/t-binds.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/t-binds.rs b/examples/t-binds.rs index 588ac46f..7d7bd7d2 100644 --- a/examples/t-binds.rs +++ b/examples/t-binds.rs @@ -8,7 +8,7 @@ use panic_halt as _; #[rtic::app(device = lm3s6965)] -const APP: () = { +mod app { #[init] fn init(_: init::Context) {} @@ -23,7 +23,7 @@ const APP: () = { fn bar(c: bar::Context) { bar_trampoline(c) } -}; +} #[allow(dead_code)] fn foo_trampoline(_: foo::Context) {} |