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

@ -148,7 +148,7 @@ macro_rules! systick_monotonic {
};
($name:ident, $tick_rate_hz:expr) => {
/// A `Monotonic` based on SysTick.
struct $name;
pub struct $name;
impl $name {
/// Starts the `Monotonic`.