diff options
Diffstat (limited to 'examples/t-cfg.rs')
-rw-r--r-- | examples/t-cfg.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/t-cfg.rs b/examples/t-cfg.rs index b6c9e472..da9a4910 100644 --- a/examples/t-cfg.rs +++ b/examples/t-cfg.rs @@ -6,7 +6,7 @@ use panic_halt as _; #[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)] -const APP: () = { +mod APP { struct Resources { #[cfg(never)] #[init(0)] @@ -52,4 +52,4 @@ const APP: () = { fn SSI0(); fn QEI0(); } -}; +} |