aboutsummaryrefslogtreecommitdiff
path: root/examples/baseline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/baseline.rs')
-rw-r--r--examples/baseline.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/baseline.rs b/examples/baseline.rs
index f46b273d..e517bf08 100644
--- a/examples/baseline.rs
+++ b/examples/baseline.rs
@@ -11,7 +11,7 @@ use panic_semihosting as _;
// NOTE: does NOT properly work on QEMU
#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)]
-const APP: () = {
+mod app {
#[init(spawn = [foo])]
fn init(cx: init::Context) {
// omitted: initialization of `CYCCNT`
@@ -51,4 +51,4 @@ const APP: () = {
extern "C" {
fn SSI0();
}
-};
+}