aboutsummaryrefslogtreecommitdiff
path: root/ui/single/resources-cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/single/resources-cfg.rs')
-rw-r--r--ui/single/resources-cfg.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/single/resources-cfg.rs b/ui/single/resources-cfg.rs
index df7ac806..f2569e92 100644
--- a/ui/single/resources-cfg.rs
+++ b/ui/single/resources-cfg.rs
@@ -1,7 +1,9 @@
#![no_main]
+use panic_halt as _;
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod app {
+ #[resources]
struct Resources {
#[cfg(never)]
#[init(0)]
@@ -72,4 +74,4 @@ const APP: () = {
c.resources.s2;
c.resources.o5;
}
-};
+}