Make rtic-monotonic macros create a public type

This commit is contained in:
Emil Fresk 2024-06-02 10:15:17 +02:00
parent d06c6eeed7
commit 689c4a068e
8 changed files with 14 additions and 7 deletions

View file

@ -63,7 +63,7 @@ macro_rules! __internal_create_imxrt_timer_interrupt {
macro_rules! __internal_create_imxrt_timer_struct {
($name:ident, $mono_backend:ident, $timer:ident, $tick_rate_hz:expr) => {
/// A `Monotonic` based on the GPT peripheral.
struct $name;
pub struct $name;
impl $name {
/// Starts the `Monotonic`.