aboutsummaryrefslogtreecommitdiff
path: root/ui/single/resources-cfg.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2020-10-05 18:25:15 +0200
committerEmil Fresk <emil.fresk@gmail.com>2020-10-05 18:25:15 +0200
commiteec0908024d9b4127ed496b4781adc08000cc2c2 (patch)
treef128b3d91ea4ac0f171ab334d4517552a6803d01 /ui/single/resources-cfg.rs
parent9d2598dc071882a94b813ab1d9ddf49092546257 (diff)
parentf493f21359ccb3ab4643d9470f3581532f47593a (diff)
Merge branch 'master' into always_late_resources
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 bcb7120..2ba65a0 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)]
@@ -74,4 +76,4 @@ const APP: () = {
c.resources.s2;
c.resources.o5;
}
-};
+}