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