aboutsummaryrefslogtreecommitdiff
path: root/examples/destructure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/destructure.rs')
-rw-r--r--examples/destructure.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/destructure.rs b/examples/destructure.rs
index d843978b..d085e4bf 100644
--- a/examples/destructure.rs
+++ b/examples/destructure.rs
@@ -24,11 +24,11 @@ mod app {
}
#[init]
- fn init(_: init::Context) -> init::LateResources {
+ fn init(_: init::Context) -> (init::LateResources, init::Monotonics) {
rtic::pend(Interrupt::UART0);
rtic::pend(Interrupt::UART1);
- init::LateResources {}
+ (init::LateResources {}, init::Monotonics())
}
// Direct destructure