stm32/rcc: remove unused lse/lsi fields in h7
This commit is contained in:
parent
2e50bf667a
commit
3bfbf2697f
@ -163,10 +163,6 @@ impl From<TimerPrescaler> for Timpre {
|
|||||||
pub struct Config {
|
pub struct Config {
|
||||||
pub hsi: Option<Hsi>,
|
pub hsi: Option<Hsi>,
|
||||||
pub hse: Option<Hse>,
|
pub hse: Option<Hse>,
|
||||||
#[cfg(stm32h7)]
|
|
||||||
pub lse: Option<Lse>,
|
|
||||||
#[cfg(stm32h7)]
|
|
||||||
pub lsi: bool,
|
|
||||||
pub csi: bool,
|
pub csi: bool,
|
||||||
pub hsi48: bool,
|
pub hsi48: bool,
|
||||||
pub sys: Sysclk,
|
pub sys: Sysclk,
|
||||||
@ -199,10 +195,6 @@ impl Default for Config {
|
|||||||
Self {
|
Self {
|
||||||
hsi: Some(Hsi::Mhz64),
|
hsi: Some(Hsi::Mhz64),
|
||||||
hse: None,
|
hse: None,
|
||||||
#[cfg(stm32h7)]
|
|
||||||
lse: None,
|
|
||||||
#[cfg(stm32h7)]
|
|
||||||
lsi: false,
|
|
||||||
csi: false,
|
csi: false,
|
||||||
hsi48: false,
|
hsi48: false,
|
||||||
sys: Sysclk::HSI,
|
sys: Sysclk::HSI,
|
||||||
|
Loading…
Reference in New Issue
Block a user