diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2020-05-26 10:48:24 +0000 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2020-09-25 14:29:34 +0000 |
| commit | dcc31fb8843d228165b28af1c10d92266847ce90 (patch) | |
| tree | cadbe972b85561ca819245ad62352d3561b8daa4 /examples/not-sync.rs | |
| parent | 46bf583cc21bd8fa34e3163149b4327fcc08057e (diff) | |
Examples need to import the resources
Diffstat (limited to 'examples/not-sync.rs')
| -rw-r--r-- | examples/not-sync.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs index 7415621..28c7618 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, |
