diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-02-20 19:22:45 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-02-20 19:22:45 +0100 |
| commit | 555f36857ec93bed26ff4249593992f500b7c4ab (patch) | |
| tree | 97db7bea39684b64f33d208bc4c413f469ae53e5 /examples/init.rs | |
| parent | d02f9a02411de1bc79490c86541e95879b7b19b8 (diff) | |
Test fixes
Diffstat (limited to 'examples/init.rs')
| -rw-r--r-- | examples/init.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/init.rs b/examples/init.rs index ca67a2b..9de7958 100644 --- a/examples/init.rs +++ b/examples/init.rs @@ -12,7 +12,7 @@ mod app { use cortex_m_semihosting::{debug, hprintln}; #[init] - fn init(cx: init::Context) -> init::LateResources { + fn init(cx: init::Context) -> (init::LateResources, init::Monotonics) { static mut X: u32 = 0; // Cortex-M peripherals @@ -32,6 +32,6 @@ mod app { debug::exit(debug::EXIT_SUCCESS); - init::LateResources {} + (init::LateResources {}, init::Monotonics()) } } |
