diff options
Diffstat (limited to 'examples/t-init-main.rs')
-rw-r--r-- | examples/t-init-main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/t-init-main.rs b/examples/t-init-main.rs index 6a6cd991..d0814877 100644 --- a/examples/t-init-main.rs +++ b/examples/t-init-main.rs @@ -7,9 +7,9 @@ use cortex_m_semihosting::debug; use panic_semihosting as _; #[rtic::app(device = lm3s6965)] -const APP: () = { +mod app { #[init] - fn main(_: main::Context) { + fn taskmain(_: taskmain::Context) { debug::exit(debug::EXIT_SUCCESS); } -}; +} |