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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/single/task-priority-too-high.rs b/ui/single/task-priority-too-high.rs
index 539c3f5d..ed7dd869 100644
--- a/ui/single/task-priority-too-high.rs
+++ b/ui/single/task-priority-too-high.rs
@@ -3,7 +3,7 @@
use rtic::app;
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod APP {
#[init]
fn init(_: init::Context) {}
@@ -35,4 +35,4 @@ const APP: () = {
// this value is too high!
#[task(binds = I2C0, priority = 9)]
fn i2c0(_: i2c0::Context) {}
-};
+}