diff options
Diffstat (limited to 'examples/t-resource.rs')
| -rw-r--r-- | examples/t-resource.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/t-resource.rs b/examples/t-resource.rs index 81ba185..0864a8a 100644 --- a/examples/t-resource.rs +++ b/examples/t-resource.rs @@ -8,7 +8,7 @@ use panic_halt as _; #[rtic::app(device = lm3s6965)] -const APP: () = { +mod APP { struct Resources { #[init(0)] o1: u32, // init @@ -86,4 +86,4 @@ const APP: () = { // no `Mutex` proxy when co-owned by cooperative (same priority) tasks let _: &mut u32 = c.resources.s2; } -}; +} |
