aboutsummaryrefslogtreecommitdiff
path: root/examples/hardware.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hardware.rs')
-rw-r--r--examples/hardware.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hardware.rs b/examples/hardware.rs
index 8105a742..831b029c 100644
--- a/examples/hardware.rs
+++ b/examples/hardware.rs
@@ -10,7 +10,7 @@ use lm3s6965::Interrupt;
use panic_semihosting as _;
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod app {
#[init]
fn init(_: init::Context) {
// Pends the UART0 interrupt but its handler won't run until *after*
@@ -49,4 +49,4 @@ const APP: () = {
)
.unwrap();
}
-};
+}