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