stm32/rcc: remove unused lse/lsi fields in h7

This commit is contained in:
Dario Nieuwenhuis 2023-10-15 01:48:27 +02:00
parent 2e50bf667a
commit 3bfbf2697f

View file

@ -163,10 +163,6 @@ impl From<TimerPrescaler> for Timpre {
pub struct Config {
pub hsi: Option<Hsi>,
pub hse: Option<Hse>,
#[cfg(stm32h7)]
pub lse: Option<Lse>,
#[cfg(stm32h7)]
pub lsi: bool,
pub csi: bool,
pub hsi48: bool,
pub sys: Sysclk,
@ -199,10 +195,6 @@ impl Default for Config {
Self {
hsi: Some(Hsi::Mhz64),
hse: None,
#[cfg(stm32h7)]
lse: None,
#[cfg(stm32h7)]
lsi: false,
csi: false,
hsi48: false,
sys: Sysclk::HSI,