diff options
| author | Rick Rogers <[email protected]> | 2025-07-25 12:10:17 -0400 |
|---|---|---|
| committer | Rick Rogers <[email protected]> | 2025-07-25 12:10:17 -0400 |
| commit | 3a30458b253083087b43b85c43cc8eaf10870414 (patch) | |
| tree | 7f4b04d32735da4f78554cce8b9ed5351446d312 | |
| parent | 33fc82a455df058c5bdef23b68304a3dcb33f069 (diff) | |
address rustfmt ci check
| -rw-r--r-- | embassy-stm32/src/rcc/h.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs index 354824e26..c31b1bbd1 100644 --- a/embassy-stm32/src/rcc/h.rs +++ b/embassy-stm32/src/rcc/h.rs | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | use core::ops::RangeInclusive; | 1 | use core::ops::RangeInclusive; |
| 2 | 2 | ||
| 3 | #[cfg(stm32h7rs)] | ||
| 4 | use stm32_metapac::rcc::vals::Plldivst; | ||
| 5 | |||
| 3 | use crate::pac; | 6 | use crate::pac; |
| 4 | pub use crate::pac::rcc::vals::{ | 7 | pub use crate::pac::rcc::vals::{ |
| 5 | Hsidiv as HSIPrescaler, Plldiv as PllDiv, Pllm as PllPreDiv, Plln as PllMul, Pllsrc as PllSource, Sw as Sysclk, | 8 | Hsidiv as HSIPrescaler, Plldiv as PllDiv, Pllm as PllPreDiv, Plln as PllMul, Pllsrc as PllSource, Sw as Sysclk, |
| @@ -8,9 +11,6 @@ use crate::pac::rcc::vals::{Pllrge, Pllvcosel, Timpre}; | |||
| 8 | use crate::pac::{FLASH, PWR, RCC}; | 11 | use crate::pac::{FLASH, PWR, RCC}; |
| 9 | use crate::time::Hertz; | 12 | use crate::time::Hertz; |
| 10 | 13 | ||
| 11 | #[cfg(stm32h7rs)] | ||
| 12 | use stm32_metapac::rcc::vals::Plldivst; | ||
| 13 | |||
| 14 | /// HSI speed | 14 | /// HSI speed |
| 15 | pub const HSI_FREQ: Hertz = Hertz(64_000_000); | 15 | pub const HSI_FREQ: Hertz = Hertz(64_000_000); |
| 16 | 16 | ||
