diff options
Diffstat (limited to 'macros/ui/monotonic-with-attrs.rs')
| -rw-r--r-- | macros/ui/monotonic-with-attrs.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/ui/monotonic-with-attrs.rs b/macros/ui/monotonic-with-attrs.rs new file mode 100644 index 0000000..7c63fbb --- /dev/null +++ b/macros/ui/monotonic-with-attrs.rs @@ -0,0 +1,8 @@ +#![no_main] + +#[rtic_macros::mock_app(device = mock)] +mod app { + #[no_mangle] + #[monotonic(binds = Tim1)] + type Fast = hal::Tim1Monotonic; +} |
