aboutsummaryrefslogtreecommitdiff
path: root/ui/single/locals-cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/single/locals-cfg.rs')
-rw-r--r--ui/single/locals-cfg.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/single/locals-cfg.rs b/ui/single/locals-cfg.rs
index 54bba8ae..e04e5b93 100644
--- a/ui/single/locals-cfg.rs
+++ b/ui/single/locals-cfg.rs
@@ -1,7 +1,8 @@
#![no_main]
+use panic_halt as _;
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod app {
#[init]
fn init(_: init::Context) {
#[cfg(never)]
@@ -47,4 +48,4 @@ const APP: () = {
extern "C" {
fn UART1();
}
-};
+}