diff options
author | 2020-10-22 21:36:32 +0200 | |
---|---|---|
committer | 2020-10-23 08:38:18 +0200 | |
commit | e8eca4be37a2fe1af25b203ace5e99b31fcc3972 (patch) | |
tree | c70a80e9bcacb54838f09141bd1d2b27e844760f /examples/types.rs | |
parent | b3aa9e99a975eca637582f31de20fe11ae8f7d64 (diff) | |
download | rtic-e8eca4be37a2fe1af25b203ace5e99b31fcc3972.tar.gz rtic-e8eca4be37a2fe1af25b203ace5e99b31fcc3972.tar.zst rtic-e8eca4be37a2fe1af25b203ace5e99b31fcc3972.zip |
Now all locks are symmetric
Test fixes
Fix test
Fix comment
Diffstat (limited to 'examples/types.rs')
-rw-r--r-- | examples/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/types.rs b/examples/types.rs index 815d309a..cb93a36f 100644 --- a/examples/types.rs +++ b/examples/types.rs @@ -45,7 +45,7 @@ mod app { #[task(priority = 2, resources = [shared])] fn foo(cx: foo::Context) { let _: cyccnt::Instant = cx.scheduled; - let _: &mut u32 = cx.resources.shared; + let _: resources::shared = cx.resources.shared; let _: foo::Resources = cx.resources; } |