aboutsummaryrefslogtreecommitdiff
path: root/examples/smallest.rs
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2020-04-22 10:58:14 +0000
committerHenrik Tjäder <henrik@tjaders.com>2020-09-25 14:29:34 +0000
commit8df2ec11b0ee3209678dcc1b1a5baa479fa1dfe5 (patch)
tree832c0e11695545449904835f2fb8f57bf086407a /examples/smallest.rs
parent4d61437bb4debea5adc578ee072bff3619d8077b (diff)
Examples using mod instead of const
Diffstat (limited to 'examples/smallest.rs')
-rw-r--r--examples/smallest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smallest.rs b/examples/smallest.rs
index ec3fa97..d6f3b66 100644
--- a/examples/smallest.rs
+++ b/examples/smallest.rs
@@ -7,4 +7,4 @@ use panic_semihosting as _; // panic handler
use rtic::app;
#[app(device = lm3s6965)]
-const APP: () = {};
+mod APP {}