aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/monotonic-no-binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ui/monotonic-no-binds.rs')
-rw-r--r--macros/ui/monotonic-no-binds.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/ui/monotonic-no-binds.rs b/macros/ui/monotonic-no-binds.rs
new file mode 100644
index 00000000..462d73e1
--- /dev/null
+++ b/macros/ui/monotonic-no-binds.rs
@@ -0,0 +1,7 @@
+#![no_main]
+
+#[rtic_macros::mock_app(device = mock)]
+mod app {
+ #[monotonic()]
+ type Fast = hal::Tim1Monotonic;
+}