aboutsummaryrefslogtreecommitdiff
path: root/examples/not-send.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/not-send.rs')
-rw-r--r--examples/not-send.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/not-send.rs b/examples/not-send.rs
index 16a874dc..bcc049c3 100644
--- a/examples/not-send.rs
+++ b/examples/not-send.rs
@@ -16,7 +16,7 @@ pub struct NotSend {
}
#[app(device = lm3s6965)]
-const APP: () = {
+mod APP {
struct Resources {
#[init(None)]
shared: Option<NotSend>,
@@ -60,4 +60,4 @@ const APP: () = {
fn SSI0();
fn QEI0();
}
-};
+}