aboutsummaryrefslogtreecommitdiff
path: root/examples/t-binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-binds.rs')
-rw-r--r--examples/t-binds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/t-binds.rs b/examples/t-binds.rs
index 12479c0a..785348bc 100644
--- a/examples/t-binds.rs
+++ b/examples/t-binds.rs
@@ -18,10 +18,10 @@ 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 {})
}
// Cortex-M exception