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