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