Merge pull request #3526 from J-F-Liu/main

Fix wrong unit
This commit is contained in:
Dario Nieuwenhuis 2024-11-12 13:01:46 +00:00 committed by GitHub
commit c66f83db70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -779,7 +779,7 @@ fn init_pll(num: usize, config: Option<Pll>, input: &PllInput) -> PllOutput {
..=3_999_999 => Pllrge::RANGE2,
..=7_999_999 => Pllrge::RANGE4,
..=16_000_000 => Pllrge::RANGE8,
x => panic!("pll ref_clk out of range: {} mhz", x),
x => panic!("pll ref_clk out of range: {} hz", x),
};
// The smaller range (150 to 420 MHz) must