diff options
Diffstat (limited to 'macros/ui/local-collision.rs')
-rw-r--r-- | macros/ui/local-collision.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/macros/ui/local-collision.rs b/macros/ui/local-collision.rs deleted file mode 100644 index 0e4eef72..00000000 --- a/macros/ui/local-collision.rs +++ /dev/null @@ -1,21 +0,0 @@ -#![no_main] - -#[rtic_macros::mock_app(device = mock)] -mod app { - #[shared] - struct Shared {} - - #[local] - struct Local { - a: u32, - } - - #[task(local = [a])] - async fn foo(_: foo::Context) {} - - #[task(local = [a: u8 = 3])] - async fn bar(_: bar::Context) {} - - #[init] - fn init(_: init::Context) -> (Shared, Local) {} -} |