mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 05:45:19 +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
|
|
@ -83,7 +83,8 @@ macro_rules! __internal_create_stm32_timer_interrupt {
|
|||
#[macro_export]
|
||||
macro_rules! __internal_create_stm32_timer_struct {
|
||||
($name:ident, $mono_backend:ident, $timer:ident, $tick_rate_hz:expr) => {
|
||||
struct $name;
|
||||
/// A `Monotonic` based on an STM32 timer peripheral.
|
||||
pub struct $name;
|
||||
|
||||
impl $name {
|
||||
/// Starts the `Monotonic`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue