diff options
Diffstat (limited to 'examples/types.rs')
-rw-r--r-- | examples/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/types.rs b/examples/types.rs index 5233f868..eafc9b1d 100644 --- a/examples/types.rs +++ b/examples/types.rs @@ -10,7 +10,7 @@ use panic_semihosting as _; use rtic::cyccnt; #[rtic::app(device = lm3s6965, peripherals = true, monotonic = rtic::cyccnt::CYCCNT)] -const APP: () = { +mod APP { struct Resources { #[init(0)] shared: u32, @@ -60,4 +60,4 @@ const APP: () = { extern "C" { fn SSI0(); } -}; +} |