mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
Make rtic-monotonic macros create a public type
This commit is contained in:
parent
d06c6eeed7
commit
689c4a068e
8 changed files with 14 additions and 7 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue