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/resource.rs | |
| parent | d02f9a02411de1bc79490c86541e95879b7b19b8 (diff) | |
Test fixes
Diffstat (limited to 'examples/resource.rs')
| -rw-r--r-- | examples/resource.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/resource.rs b/examples/resource.rs index 60aa52b..c8c57bf 100644 --- a/examples/resource.rs +++ b/examples/resource.rs @@ -20,11 +20,11 @@ mod app { } #[init] - fn init(_: init::Context) -> init::LateResources { + fn init(_: init::Context) -> (init::LateResources, init::Monotonics) { rtic::pend(Interrupt::UART0); rtic::pend(Interrupt::UART1); - init::LateResources {} + (init::LateResources {}, init::Monotonics()) } // `shared` cannot be accessed from this context |
