diff options
author | 2020-10-23 20:52:58 +0000 | |
---|---|---|
committer | 2020-10-23 20:52:58 +0000 | |
commit | bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b (patch) | |
tree | c70a80e9bcacb54838f09141bd1d2b27e844760f /examples/types.rs | |
parent | b3aa9e99a975eca637582f31de20fe11ae8f7d64 (diff) | |
parent | e8eca4be37a2fe1af25b203ace5e99b31fcc3972 (diff) | |
download | rtic-bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b.tar.gz rtic-bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b.tar.zst rtic-bbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b.zip |
Merge #399
399: Now all locks are symmetric r=AfoHT a=korken89
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
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; } |