aboutsummaryrefslogtreecommitdiff
path: root/examples/not-send.rs
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2020-05-26 10:48:24 +0000
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2020-09-25 14:29:34 +0000
commitdcc31fb8843d228165b28af1c10d92266847ce90 (patch)
treecadbe972b85561ca819245ad62352d3561b8daa4 /examples/not-send.rs
parent46bf583cc21bd8fa34e3163149b4327fcc08057e (diff)
downloadrtic-dcc31fb8843d228165b28af1c10d92266847ce90.tar.gz
rtic-dcc31fb8843d228165b28af1c10d92266847ce90.tar.zst
rtic-dcc31fb8843d228165b28af1c10d92266847ce90.zip
Examples need to import the resources
Diffstat (limited to 'examples/not-send.rs')
-rw-r--r--examples/not-send.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/not-send.rs b/examples/not-send.rs
index a2965941..c0582d76 100644
--- a/examples/not-send.rs
+++ b/examples/not-send.rs
@@ -17,6 +17,8 @@ pub struct NotSend {
#[app(device = lm3s6965)]
mod app {
+ use super::NotSend;
+
struct Resources {
#[init(None)]
shared: Option<NotSend>,