diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-01-20 16:31:04 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-01-20 16:31:04 +0100 |
| commit | f604153f05e02fb07903f45b756fc9ddb6667d8a (patch) | |
| tree | e2e30706bafa54642df1f010a87fa020276c75e4 /embassy-stm32/src/time.rs | |
| parent | 539a8107e2f09338294727f47827dec42104505f (diff) | |
stm32/rcc: print actual freqs on boot.
Diffstat (limited to 'embassy-stm32/src/time.rs')
| -rw-r--r-- | embassy-stm32/src/time.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/time.rs b/embassy-stm32/src/time.rs index 49140bbe0..975517a48 100644 --- a/embassy-stm32/src/time.rs +++ b/embassy-stm32/src/time.rs | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | /// Hertz | 3 | /// Hertz |
| 4 | #[derive(PartialEq, PartialOrd, Clone, Copy, Debug, Eq)] | 4 | #[derive(PartialEq, PartialOrd, Clone, Copy, Debug, Eq)] |
| 5 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | ||
| 5 | pub struct Hertz(pub u32); | 6 | pub struct Hertz(pub u32); |
| 6 | 7 | ||
| 7 | impl Hertz { | 8 | impl Hertz { |
