aboutsummaryrefslogtreecommitdiff
path: root/examples/smallest.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/smallest.rs')
-rw-r--r--examples/smallest.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/smallest.rs b/examples/smallest.rs
index b121fcff..5071392d 100644
--- a/examples/smallest.rs
+++ b/examples/smallest.rs
@@ -17,8 +17,8 @@ mod app {
struct Local {}
#[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
+ fn init(_: init::Context) -> (Shared, Local) {
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
- (Shared {}, Local {}, init::Monotonics())
+ (Shared {}, Local {})
}
}