aboutsummaryrefslogtreecommitdiff
path: root/examples/ramfunc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ramfunc.rs')
-rw-r--r--examples/ramfunc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ramfunc.rs b/examples/ramfunc.rs
index 214b7e67..5ff167a3 100644
--- a/examples/ramfunc.rs
+++ b/examples/ramfunc.rs
@@ -9,7 +9,7 @@ use cortex_m_semihosting::{debug, hprintln};
use panic_semihosting as _;
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod app {
#[init(spawn = [bar])]
fn init(c: init::Context) -> init::LateResources {
c.spawn.bar().unwrap();
@@ -40,4 +40,4 @@ const APP: () = {
#[link_section = ".data.UART1"]
fn UART1();
}
-};
+}