aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/rcc/u5.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/embassy-stm32/src/rcc/u5.rs b/embassy-stm32/src/rcc/u5.rs
index ae0ef73f4..d12416a72 100644
--- a/embassy-stm32/src/rcc/u5.rs
+++ b/embassy-stm32/src/rcc/u5.rs
@@ -191,9 +191,8 @@ pub(crate) unsafe fn init(config: Config) {
191 // MSIK is active and using LSE for auto-calibration 191 // MSIK is active and using LSE for auto-calibration
192 Some(lse_config.frequency) 192 Some(lse_config.frequency)
193 } 193 }
194 // improper configuration, no LSE calibration 194 // improper configuration
195 _ => None, 195 _ => panic!("MSIx auto-calibration is enabled for a source that has not been configured.") }
196 }
197 } else { 196 } else {
198 None 197 None
199 } 198 }