diff options
Diffstat (limited to 'examples/task.rs')
-rw-r--r-- | examples/task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/task.rs b/examples/task.rs index 5e4769a5..9d4492f2 100644 --- a/examples/task.rs +++ b/examples/task.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) { foo::spawn().unwrap(); - init::LateResources {} + (init::LateResources {}, init::Monotonics()) } #[task] |