diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2025-04-03 20:36:36 +0200 |
|---|---|---|
| committer | datdenkikniet <38322042+datdenkikniet@users.noreply.github.com> | 2025-04-03 20:43:04 +0200 |
| commit | 5a8ff70f854c0d6fef3e5b7be12b750aab37b9f2 (patch) | |
| tree | 87783ee32ee6822834bbc7dff77a8e1766b7c70d /rtic-monotonics | |
| parent | be6648c0eefebc1b346966892e4da8ce435e5bf8 (diff) | |
Placate clippy
Diffstat (limited to 'rtic-monotonics')
| -rw-r--r-- | rtic-monotonics/src/imxrt.rs | 8 | ||||
| -rw-r--r-- | rtic-monotonics/src/systick.rs | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/rtic-monotonics/src/imxrt.rs b/rtic-monotonics/src/imxrt.rs index f413d5c..d59e91e 100644 --- a/rtic-monotonics/src/imxrt.rs +++ b/rtic-monotonics/src/imxrt.rs @@ -103,8 +103,8 @@ macro_rules! __internal_create_imxrt_timer_struct { /// /// * `name` - The name that the monotonic type will have. /// * `tick_rate_hz` - The tick rate of the timer peripheral. It's the user's responsibility -/// to configure the peripheral to the given frequency before starting the -/// monotonic. +/// to configure the peripheral to the given frequency before starting the +/// monotonic. #[cfg(feature = "imxrt_gpt1")] #[macro_export] macro_rules! imxrt_gpt1_monotonic { @@ -121,8 +121,8 @@ macro_rules! imxrt_gpt1_monotonic { /// /// * `name` - The name that the monotonic type will have. /// * `tick_rate_hz` - The tick rate of the timer peripheral. It's the user's responsibility -/// to configure the peripheral to the given frequency before starting the -/// monotonic. +/// to configure the peripheral to the given frequency before starting the +/// monotonic. #[cfg(feature = "imxrt_gpt2")] #[macro_export] macro_rules! imxrt_gpt2_monotonic { diff --git a/rtic-monotonics/src/systick.rs b/rtic-monotonics/src/systick.rs index 48888be..024c9ad 100644 --- a/rtic-monotonics/src/systick.rs +++ b/rtic-monotonics/src/systick.rs @@ -140,7 +140,7 @@ impl TimerQueueBackend for SystickBackend { /// /// * `name` - The name that the monotonic type will have. /// * `tick_rate_hz` - The tick rate of the timer peripheral. -/// Can be omitted; defaults to 1kHz. +/// Can be omitted; defaults to 1kHz. #[macro_export] macro_rules! systick_monotonic { ($name:ident) => { |
