diff options
author | 2021-02-20 19:22:45 +0100 | |
---|---|---|
committer | 2021-02-20 19:22:45 +0100 | |
commit | 555f36857ec93bed26ff4249593992f500b7c4ab (patch) | |
tree | 97db7bea39684b64f33d208bc4c413f469ae53e5 /examples/hardware.rs | |
parent | d02f9a02411de1bc79490c86541e95879b7b19b8 (diff) | |
download | rtic-555f36857ec93bed26ff4249593992f500b7c4ab.tar.gz rtic-555f36857ec93bed26ff4249593992f500b7c4ab.tar.zst rtic-555f36857ec93bed26ff4249593992f500b7c4ab.zip |
Test fixes
Diffstat (limited to 'examples/hardware.rs')
-rw-r--r-- | examples/hardware.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hardware.rs b/examples/hardware.rs index 99e8da2e..3cf98807 100644 --- a/examples/hardware.rs +++ b/examples/hardware.rs @@ -13,14 +13,14 @@ mod app { use lm3s6965::Interrupt; #[init] - fn init(_: init::Context) -> init::LateResources { + fn init(_: init::Context) -> (init::LateResources, init::Monotonics) { // Pends the UART0 interrupt but its handler won't run until *after* // `init` returns because interrupts are disabled rtic::pend(Interrupt::UART0); // equivalent to NVIC::pend hprintln!("init").unwrap(); - init::LateResources {} + (init::LateResources {}, init::Monotonics()) } #[idle] |