aboutsummaryrefslogtreecommitdiff
path: root/examples/full-syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/full-syntax.rs')
-rw-r--r--examples/full-syntax.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/full-syntax.rs b/examples/full-syntax.rs
index 7ac42e39..6965a63b 100644
--- a/examples/full-syntax.rs
+++ b/examples/full-syntax.rs
@@ -47,9 +47,9 @@ fn init_(_p: init::Peripherals, _r: init::Resources) {}
fn idle_(t: &mut Threshold, mut r: idle::Resources) -> ! {
loop {
- **r.OWNED != **r.OWNED;
+ *r.OWNED != *r.OWNED;
- if **r.OWNED {
+ if *r.OWNED {
if r.SHARED.claim(t, |shared, _| **shared) {
rtfm::wfi();
}