Skip to content

Commit

Permalink
Minor beautification
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Dec 27, 2023
1 parent 5cf06ed commit ce5d2cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rtic-monotonics/src/imxrt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,13 @@ 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) => {
struct $name;

impl $name {
pub fn start(gpt: $crate::imxrt::ral::gpt::$timer) {
$crate::imxrt::$mono_backend::start(gpt);
}
}

impl $crate::TimerQueueBasedMonotonic for $name {
type Backend = $crate::imxrt::$mono_backend;
type Instant = $crate::fugit::Instant<
Expand Down

0 comments on commit ce5d2cc

Please sign in to comment.