aboutsummaryrefslogtreecommitdiff
path: root/ui/single/task-priority-too-high.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/single/task-priority-too-high.rs')
-rw-r--r--ui/single/task-priority-too-high.rs6
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) {}
-};
+}