aboutsummaryrefslogtreecommitdiff
path: root/examples/binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/binds.rs')
-rw-r--r--examples/binds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/binds.rs b/examples/binds.rs
index 56565cbe..ec25ccca 100644
--- a/examples/binds.rs
+++ b/examples/binds.rs
@@ -20,12 +20,12 @@ mod app {
struct Local {}
#[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
+ fn init(_: init::Context) -> (Shared, Local) {
rtic::pend(Interrupt::UART0);
hprintln!("init").unwrap();
- (Shared {}, Local {}, init::Monotonics())
+ (Shared {}, Local {})
}
#[idle]