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