diff options
Diffstat (limited to 'examples/shared.rs')
-rw-r--r-- | examples/shared.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shared.rs b/examples/shared.rs index d87dca52..fdc1b1c5 100644 --- a/examples/shared.rs +++ b/examples/shared.rs @@ -23,11 +23,11 @@ mod app { struct Local {} #[init(local = [q: Queue<u32, 5> = Queue::new()])] - fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { + fn init(cx: init::Context) -> (Shared, Local) { let (p, c) = cx.local.q.split(); // Initialization of shared resources - (Shared { p, c }, Local {}, init::Monotonics()) + (Shared { p, c }, Local {}) } #[idle(shared = [c])] |