diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2023-01-08 16:25:46 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-01 00:33:27 +0100 |
| commit | 584ac7e1b335411e3d923aeef92466efdc92ae50 (patch) | |
| tree | 99906bccb37bfe7e852d054fb52d62e6df4290c5 /macros/ui/async-local-resouces.rs | |
| parent | 9a4f97ca5ebf19e6612115db5c763d0d61dd28a1 (diff) | |
Update UI tests, 1 failing that needs fixing
Diffstat (limited to 'macros/ui/async-local-resouces.rs')
| -rw-r--r-- | macros/ui/async-local-resouces.rs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/macros/ui/async-local-resouces.rs b/macros/ui/async-local-resouces.rs deleted file mode 100644 index 1ba5865..0000000 --- a/macros/ui/async-local-resouces.rs +++ /dev/null @@ -1,28 +0,0 @@ -#![no_main] - -#[rtic_macros::mock_app(device = mock)] -mod app { - #[shared] - struct Shared { - #[lock_free] - e: u32, - } - - #[local] - struct Local {} - - #[init] - fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {} - - // e ok - #[task(priority = 1, shared = [e])] - fn uart0(cx: uart0::Context) {} - - // e ok - #[task(priority = 1, shared = [e])] - fn uart1(cx: uart1::Context) {} - - // e not ok - #[task(priority = 1, shared = [e])] - async fn async_task(cx: async_task::Context) {} -} |
