aboutsummaryrefslogtreecommitdiff
path: root/examples/t-idle-main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-idle-main.rs')
-rw-r--r--examples/t-idle-main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/t-idle-main.rs b/examples/t-idle-main.rs
index 051a9ee..89f93d0 100644
--- a/examples/t-idle-main.rs
+++ b/examples/t-idle-main.rs
@@ -7,7 +7,7 @@ use cortex_m_semihosting::debug;
use panic_semihosting as _;
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod APP {
#[init]
fn init(_: init::Context) {}
@@ -18,4 +18,4 @@ const APP: () = {
cortex_m::asm::nop();
}
}
-};
+}