aboutsummaryrefslogtreecommitdiff
path: root/examples/idle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle.rs')
-rw-r--r--examples/idle.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/idle.rs b/examples/idle.rs
index 1aac56c2..db03dc70 100644
--- a/examples/idle.rs
+++ b/examples/idle.rs
@@ -12,10 +12,10 @@ mod app {
use cortex_m_semihosting::{debug, hprintln};
#[init]
- fn init(_: init::Context) -> init::LateResources {
+ fn init(_: init::Context) -> (init::LateResources, init::Monotonics) {
hprintln!("init").unwrap();
- init::LateResources {}
+ (init::LateResources {}, init::Monotonics())
}
#[idle]