aboutsummaryrefslogtreecommitdiff
path: root/examples/peripherals-taken.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/peripherals-taken.rs')
-rw-r--r--examples/peripherals-taken.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/peripherals-taken.rs b/examples/peripherals-taken.rs
index d542c0e6..9b014667 100644
--- a/examples/peripherals-taken.rs
+++ b/examples/peripherals-taken.rs
@@ -16,10 +16,10 @@ mod app {
struct Local {}
#[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
+ fn init(_: init::Context) -> (Shared, Local) {
assert!(cortex_m::Peripherals::take().is_none());
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
- (Shared {}, Local {}, init::Monotonics())
+ (Shared {}, Local {})
}
}