diff options
| author | chemicstry <[email protected]> | 2022-07-10 21:15:38 +0300 |
|---|---|---|
| committer | chemicstry <[email protected]> | 2022-07-10 21:15:38 +0300 |
| commit | 85054a7233f3beca236ca7ac3763065b021fa10d (patch) | |
| tree | d3bd30010b114efcd340ae44be8e85f7b36f4688 | |
| parent | bd741a40191d127e804d668366e92a8fc43c5b18 (diff) | |
Fix typo
| -rw-r--r-- | embassy-stm32/src/rcc/h7.rs | 2 |
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 | ||
