diff options
Diffstat (limited to 'ui/task-priority-too-high.rs')
-rw-r--r-- | ui/task-priority-too-high.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ui/task-priority-too-high.rs b/ui/task-priority-too-high.rs index b1cbfa94..0d903d3a 100644 --- a/ui/task-priority-too-high.rs +++ b/ui/task-priority-too-high.rs @@ -2,9 +2,15 @@ #[rtic::app(device = lm3s6965)] mod app { + #[shared] + struct Shared {} + + #[local] + struct Local {} + #[init] - fn init(_: init::Context) -> (init::LateResources, init::Monotonics) { - (init::LateResources {}, init::Monotonics()) + fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { + (Shared {}, Local {}, init::Monotonics {}) } #[task(binds = GPIOA, priority = 1)] |