diff options
Diffstat (limited to 'examples/spawn2.rs')
-rw-r--r-- | examples/spawn2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/spawn2.rs b/examples/spawn2.rs index c485b922..be113f79 100644 --- a/examples/spawn2.rs +++ b/examples/spawn2.rs @@ -12,10 +12,10 @@ mod app { use cortex_m_semihosting::{debug, hprintln}; #[init] - fn init(_c: init::Context) -> init::LateResources { + fn init(_c: init::Context) -> (init::LateResources, init::Monotonics) { foo::spawn(1, 2).unwrap(); - init::LateResources {} + (init::LateResources {}, init::Monotonics()) } #[task] |