aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/rcc/hsi48.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-stm32/src/rcc/hsi48.rs b/embassy-stm32/src/rcc/hsi48.rs
index 4eb701ea2..50ac162a4 100644
--- a/embassy-stm32/src/rcc/hsi48.rs
+++ b/embassy-stm32/src/rcc/hsi48.rs
@@ -80,10 +80,10 @@ pub(crate) fn disable_hsi48() {
80 let r = RCC.cr2(); 80 let r = RCC.cr2();
81 81
82 r.modify(|w| w.set_hsi48on(false)); 82 r.modify(|w| w.set_hsi48on(false));
83 83
84 // Disable VREFINT reference for HSI48 oscillator 84 // Disable VREFINT reference for HSI48 oscillator
85 #[cfg(stm32l0)] 85 #[cfg(stm32l0)]
86 crate::pac::SYSCFG.cfgr3().modify(|w| { 86 crate::pac::SYSCFG.cfgr3().modify(|w| {
87 w.set_enref_hsi48(false); 87 w.set_enref_hsi48(false);
88 }); 88 });
89} \ No newline at end of file 89}