aboutsummaryrefslogtreecommitdiff
path: root/examples/shared-with-init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shared-with-init.rs')
-rw-r--r--examples/shared-with-init.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shared-with-init.rs b/examples/shared-with-init.rs
index bd55f7ef..03391bdd 100644
--- a/examples/shared-with-init.rs
+++ b/examples/shared-with-init.rs
@@ -13,7 +13,7 @@ use rtic::app;
pub struct MustBeSend;
#[app(device = lm3s6965)]
-const APP: () = {
+mod APP {
struct Resources {
#[init(None)]
shared: Option<MustBeSend>,
@@ -37,4 +37,4 @@ const APP: () = {
debug::exit(debug::EXIT_SUCCESS);
}
}
-};
+}