aboutsummaryrefslogtreecommitdiff
path: root/examples/not-sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/not-sync.rs')
-rw-r--r--examples/not-sync.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs
index 74156211..28c76183 100644
--- a/examples/not-sync.rs
+++ b/examples/not-sync.rs
@@ -16,6 +16,9 @@ pub struct NotSync {
#[rtic::app(device = lm3s6965)]
mod app {
+ use super::NotSync;
+ use core::marker::PhantomData;
+
struct Resources {
#[init(NotSync { _0: PhantomData })]
shared: NotSync,