diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 02:26:34 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 20:22:45 +0100 |
| commit | 44af1366056a06247b3ee0f153d5274cb4658c43 (patch) | |
| tree | 068745d06e1bb191e0ef90a9f09c8b0c3cbc0ca5 /rtic-monotonics/src/systick.rs | |
| parent | 5dc2c1d351d75d150d671994b1c67b2c0f9d16a0 (diff) | |
CFG: Align all crates to use hyphen
Diffstat (limited to 'rtic-monotonics/src/systick.rs')
| -rw-r--r-- | rtic-monotonics/src/systick.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rtic-monotonics/src/systick.rs b/rtic-monotonics/src/systick.rs index 62d4e0c..691d7c7 100644 --- a/rtic-monotonics/src/systick.rs +++ b/rtic-monotonics/src/systick.rs @@ -7,14 +7,14 @@ use core::future::Future; use cortex_m::peripheral::SYST; pub use fugit::ExtU32; -// Features should be additive, here systick_100hz gets picked if both -// `systick_100hz` and `systick_10khz` are enabled. +// Features should be additive, here systick-100hz gets picked if both +// `systick-100hz` and `systick-10khz` are enabled. cfg_if::cfg_if! { - if #[cfg(feature = "systick_100hz")] + if #[cfg(feature = "systick-100hz")] { const TIMER_HZ: u32 = 100; - } else if #[cfg(feature = "systick_10khz")] + } else if #[cfg(feature = "systick-10khz")] { const TIMER_HZ: u32 = 10_000; } else { |
