aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/idle-double-shared.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ui/idle-double-shared.rs')
-rw-r--r--macros/ui/idle-double-shared.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/ui/idle-double-shared.rs b/macros/ui/idle-double-shared.rs
new file mode 100644
index 00000000..f66cb935
--- /dev/null
+++ b/macros/ui/idle-double-shared.rs
@@ -0,0 +1,9 @@
+#![no_main]
+
+#[rtic_macros::mock_app(device = mock)]
+mod app {
+ #[idle(shared = [A], shared = [B])]
+ fn idle(_: idle::Context) -> ! {
+ loop {}
+ }
+}