diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-10-15 01:49:01 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-15 01:49:01 +0200 |
| commit | a818f336582fcaef3795cb99a7e38d3c4b9c1237 (patch) | |
| tree | 857f0f256a09a7426833eb38c1ee9cd928f704c8 | |
| parent | 2e50bf667a02ac3cb2b48dd61ca394b589ac20df (diff) | |
| parent | 3bfbf2697f591d9d26ebd676a4df36ac443054ba (diff) | |
Merge pull request #2062 from embassy-rs/rcc-no-spaghetti
stm32/rcc: remove unused lse/lsi fields in h7
| -rw-r--r-- | embassy-stm32/src/rcc/h.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs index a24f4d4e4..9132df7eb 100644 --- a/embassy-stm32/src/rcc/h.rs +++ b/embassy-stm32/src/rcc/h.rs | |||
| @@ -163,10 +163,6 @@ impl From<TimerPrescaler> for Timpre { | |||
| 163 | pub struct Config { | 163 | pub struct Config { |
| 164 | pub hsi: Option<Hsi>, | 164 | pub hsi: Option<Hsi>, |
| 165 | pub hse: Option<Hse>, | 165 | pub hse: Option<Hse>, |
| 166 | #[cfg(stm32h7)] | ||
| 167 | pub lse: Option<Lse>, | ||
| 168 | #[cfg(stm32h7)] | ||
| 169 | pub lsi: bool, | ||
| 170 | pub csi: bool, | 166 | pub csi: bool, |
| 171 | pub hsi48: bool, | 167 | pub hsi48: bool, |
| 172 | pub sys: Sysclk, | 168 | pub sys: Sysclk, |
| @@ -199,10 +195,6 @@ impl Default for Config { | |||
| 199 | Self { | 195 | Self { |
| 200 | hsi: Some(Hsi::Mhz64), | 196 | hsi: Some(Hsi::Mhz64), |
| 201 | hse: None, | 197 | hse: None, |
| 202 | #[cfg(stm32h7)] | ||
| 203 | lse: None, | ||
| 204 | #[cfg(stm32h7)] | ||
| 205 | lsi: false, | ||
| 206 | csi: false, | 198 | csi: false, |
| 207 | hsi48: false, | 199 | hsi48: false, |
| 208 | sys: Sysclk::HSI, | 200 | sys: Sysclk::HSI, |
