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/shared-with-init.rs | |
| parent | 46bf583cc21bd8fa34e3163149b4327fcc08057e (diff) | |
Examples need to import the resources
Diffstat (limited to 'examples/shared-with-init.rs')
| -rw-r--r-- | examples/shared-with-init.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/shared-with-init.rs b/examples/shared-with-init.rs index dcc31d3..9c4499e 100644 --- a/examples/shared-with-init.rs +++ b/examples/shared-with-init.rs @@ -14,6 +14,8 @@ pub struct MustBeSend; #[app(device = lm3s6965)] mod app { + use super::MustBeSend; + struct Resources { #[init(None)] shared: Option<MustBeSend>, |
