Skip to content

Commit

Permalink
Merge pull request #2537 from badrbouslikhin/main
Browse files Browse the repository at this point in the history
fix(stm32/h7): use correct unit in vco clock check
  • Loading branch information
Dirbaio authored Feb 6, 2024
2 parents ad7d449 + e72cc9f commit 5e09e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embassy-stm32/src/rcc/h.rs
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ fn init_pll(num: usize, config: Option<Pll>, input: &PllInput) -> PllOutput {
} else if wide_allowed && VCO_WIDE_RANGE.contains(&vco_clk) {
Pllvcosel::WIDEVCO
} else {
panic!("pll vco_clk out of range: {} mhz", vco_clk.0)
panic!("pll vco_clk out of range: {} hz", vco_clk.0)
};

let p = config.divp.map(|div| {
Expand Down

0 comments on commit 5e09e7b

Please sign in to comment.