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