aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/local-shared.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-01-08 16:25:46 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:27 +0100
commit584ac7e1b335411e3d923aeef92466efdc92ae50 (patch)
tree99906bccb37bfe7e852d054fb52d62e6df4290c5 /macros/ui/local-shared.rs
parent9a4f97ca5ebf19e6612115db5c763d0d61dd28a1 (diff)
Update UI tests, 1 failing that needs fixing
Diffstat (limited to 'macros/ui/local-shared.rs')
-rw-r--r--macros/ui/local-shared.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/ui/local-shared.rs b/macros/ui/local-shared.rs
index f6fb491..4e8f9f4 100644
--- a/macros/ui/local-shared.rs
+++ b/macros/ui/local-shared.rs
@@ -12,7 +12,7 @@ mod app {
}
#[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {}
+ fn init(_: init::Context) -> (Shared, Local) {}
// l2 ok
#[idle(local = [l2])]
@@ -20,9 +20,9 @@ mod app {
// l1 rejected (not local)
#[task(priority = 1, local = [l1])]
- fn uart0(cx: uart0::Context) {}
+ async fn uart0(cx: uart0::Context) {}
// l1 rejected (not lock_free)
#[task(priority = 2, local = [l1])]
- fn uart1(cx: uart1::Context) {}
+ async fn uart1(cx: uart1::Context) {}
}