From 3bfbf2697f591d9d26ebd676a4df36ac443054ba Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 15 Oct 2023 01:48:27 +0200 Subject: [PATCH] stm32/rcc: remove unused lse/lsi fields in h7 --- embassy-stm32/src/rcc/h.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs index a24f4d4e..9132df7e 100644 --- a/embassy-stm32/src/rcc/h.rs +++ b/embassy-stm32/src/rcc/h.rs @@ -163,10 +163,6 @@ impl From for Timpre { pub struct Config { pub hsi: Option, pub hse: Option, - #[cfg(stm32h7)] - pub lse: Option, - #[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,