From 689c4a068eddfe32956c1975cdc241b26d1751da Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sun, 2 Jun 2024 10:15:17 +0200 Subject: Make rtic-monotonic macros create a public type --- rtic-monotonics/src/nrf/timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtic-monotonics/src/nrf/timer.rs') diff --git a/rtic-monotonics/src/nrf/timer.rs b/rtic-monotonics/src/nrf/timer.rs index 3ec1dfe..35e3743 100644 --- a/rtic-monotonics/src/nrf/timer.rs +++ b/rtic-monotonics/src/nrf/timer.rs @@ -95,7 +95,7 @@ macro_rules! __internal_create_nrf_timer_interrupt { macro_rules! __internal_create_nrf_timer_struct { ($name:ident, $mono_backend:ident, $timer:ident, $tick_rate_hz:expr) => { /// A `Monotonic` based on the nRF Timer peripheral. - struct $name; + pub struct $name; impl $name { /// Starts the `Monotonic`. -- cgit v1.2.3