diff options
Diffstat (limited to 'ui/single/task-priority-too-high.rs')
-rw-r--r-- | ui/single/task-priority-too-high.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/single/task-priority-too-high.rs b/ui/single/task-priority-too-high.rs index 539c3f5d..fbafa4d2 100644 --- a/ui/single/task-priority-too-high.rs +++ b/ui/single/task-priority-too-high.rs @@ -1,9 +1,7 @@ #![no_main] -use rtic::app; - #[rtic::app(device = lm3s6965)] -const APP: () = { +mod app { #[init] fn init(_: init::Context) {} @@ -35,4 +33,4 @@ const APP: () = { // this value is too high! #[task(binds = I2C0, priority = 9)] fn i2c0(_: i2c0::Context) {} -}; +} |