Merge pull request #2537 from badrbouslikhin/main

fix(stm32/h7): use correct unit in vco clock check
This commit is contained in:
Dario Nieuwenhuis 2024-02-06 15:57:53 +00:00 committed by GitHub
commit 5e09e7b014
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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| {