diff options
Diffstat (limited to 'macros/ui/task-no-context.rs')
-rw-r--r-- | macros/ui/task-no-context.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/ui/task-no-context.rs b/macros/ui/task-no-context.rs new file mode 100644 index 00000000..e2da6254 --- /dev/null +++ b/macros/ui/task-no-context.rs @@ -0,0 +1,7 @@ +#![no_main] + +#[rtic_macros::mock_app(device = mock)] +mod app { + #[task] + fn foo() {} +} |