diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-02-23 19:29:15 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-02-23 19:29:15 +0100 |
| commit | 210197d07955e760c031e05d1cc79689290335dc (patch) | |
| tree | ada0510f53d595f32451efa5b93d8b1068c08401 /ui/single/local-err.rs | |
| parent | 26870ae12ede1a70ca5685a7c0e0113c6bed58dd (diff) | |
Remove flags, updates UI tests
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 |
