aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.rs
diff options
context:
space:
mode:
authorGravatar Per Lindgren <per.lindgren@ltu.se> 2023-01-07 17:59:39 +0100
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2023-03-01 00:33:24 +0100
commit9a4f97ca5ebf19e6612115db5c763d0d61dd28a1 (patch)
tree1f37d247f715ad3d5215aa7de3aa6d4eb94a7027 /examples/shared.rs
parent5606ba3cf38c80be5d3e9c88ad4da9982b114851 (diff)
downloadrtic-9a4f97ca5ebf19e6612115db5c763d0d61dd28a1.tar.gz
rtic-9a4f97ca5ebf19e6612115db5c763d0d61dd28a1.tar.zst
rtic-9a4f97ca5ebf19e6612115db5c763d0d61dd28a1.zip
more examples
Diffstat (limited to 'examples/shared.rs')
-rw-r--r--examples/shared.rs4
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])]