aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-stm32/src/rcc/h7.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/rcc/h7.rs b/embassy-stm32/src/rcc/h7.rs
index 83e5d2971..6b1014312 100644
--- a/embassy-stm32/src/rcc/h7.rs
+++ b/embassy-stm32/src/rcc/h7.rs
@@ -498,7 +498,7 @@ pub(crate) unsafe fn init(mut config: Config) {
498 // per_ck from HSI by default 498 // per_ck from HSI by default
499 let (per_ck, ckpersel) = match (config.per_ck == config.hse, config.per_ck) { 499 let (per_ck, ckpersel) = match (config.per_ck == config.hse, config.per_ck) {
500 (true, Some(hse)) => (hse, Ckpersel::HSE), // HSE 500 (true, Some(hse)) => (hse, Ckpersel::HSE), // HSE
501 (_, Some(HSI_FREQ)) => (CSI_FREQ, Ckpersel::CSI), // CSI 501 (_, Some(CSI_FREQ)) => (CSI_FREQ, Ckpersel::CSI), // CSI
502 _ => (HSI_FREQ, Ckpersel::HSI), // HSI 502 _ => (HSI_FREQ, Ckpersel::HSI), // HSI
503 }; 503 };
504 504