aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/rcc/h.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-stm32/src/rcc/h.rs')
-rw-r--r--embassy-stm32/src/rcc/h.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/embassy-stm32/src/rcc/h.rs b/embassy-stm32/src/rcc/h.rs
index 485edd390..2fe2a435c 100644
--- a/embassy-stm32/src/rcc/h.rs
+++ b/embassy-stm32/src/rcc/h.rs
@@ -671,6 +671,12 @@ pub(crate) unsafe fn init(config: Config) {
671 RCC.cr().modify(|w| w.set_hsion(false)); 671 RCC.cr().modify(|w| w.set_hsion(false));
672 } 672 }
673 673
674 // Disable the HSI48, if not used
675 #[cfg(crs)]
676 if config.hsi48.is_none() {
677 super::disable_hsi48();
678 }
679
674 // IO compensation cell - Requires CSI clock and SYSCFG 680 // IO compensation cell - Requires CSI clock and SYSCFG
675 #[cfg(any(stm32h7))] // TODO h5, h7rs 681 #[cfg(any(stm32h7))] // TODO h5, h7rs
676 if csi.is_some() { 682 if csi.is_some() {