aboutsummaryrefslogtreecommitdiff
path: root/examples/t-late-not-send.rs
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-04-22 10:58:14 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-25 14:29:34 +0000
commit8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5 (patch)
tree832c0e11695545449904835f2fb8f57bf086407a /examples/t-late-not-send.rs
parent4d61437bb4debea5adc578ee072bff3619d8077b (diff)
downloadrtic-8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5.tar.gz
rtic-8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5.tar.zst
rtic-8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5.zip
Examples using mod instead of const
Diffstat (limited to 'examples/t-late-not-send.rs')
-rw-r--r--examples/t-late-not-send.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/t-late-not-send.rs b/examples/t-late-not-send.rs
index d2a9b63c..77990182 100644
--- a/examples/t-late-not-send.rs
+++ b/examples/t-late-not-send.rs
@@ -12,7 +12,7 @@ pub struct NotSend {
}
#[rtic::app(device = lm3s6965)]
-const APP: () = {
+mod APP {
struct Resources {
x: NotSend,
#[init(None)]
@@ -35,4 +35,4 @@ const APP: () = {
cortex_m::asm::nop();
}
}
-};
+}