aboutsummaryrefslogtreecommitdiff
path: root/examples/idle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle.rs')
-rw-r--r--examples/idle.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/idle.rs b/examples/idle.rs
index 55d6b153..9a7a7275 100644
--- a/examples/idle.rs
+++ b/examples/idle.rs
@@ -18,10 +18,10 @@ mod app {
struct Local {}
#[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
+ fn init(_: init::Context) -> (Shared, Local) {
hprintln!("init").unwrap();
- (Shared {}, Local {}, init::Monotonics())
+ (Shared {}, Local {})
}
#[idle(local = [x: u32 = 0])]