aboutsummaryrefslogtreecommitdiff
path: root/examples/binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/binds.rs')
-rw-r--r--examples/binds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/binds.rs b/examples/binds.rs
index f3ce51ec..42010ae2 100644
--- a/examples/binds.rs
+++ b/examples/binds.rs
@@ -11,7 +11,7 @@ use panic_semihosting as _;
// `examples/interrupt.rs` rewritten to use `binds`
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod app {
#[init]
fn init(_: init::Context) -> init::LateResources {
rtic::pend(Interrupt::UART0);
@@ -47,4 +47,4 @@ const APP: () = {
)
.unwrap();
}
-};
+}