diff options
Diffstat (limited to 'ui/single/local-err.rs')
| -rw-r--r-- | ui/single/local-err.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/single/local-err.rs b/ui/single/local-err.rs index 0fe98a4..7ebfc06 100644 --- a/ui/single/local-err.rs +++ b/ui/single/local-err.rs @@ -39,10 +39,10 @@ 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 { e2: 2, l2: 2 } + (init::LateResources { e2: 2, l2: 2 }, init::Monotonics()) } // `shared` cannot be accessed from this context |
