Skip to content

Commit 6c861b4

Browse files
authored
Fix clock assertion.
1 parent 99580be commit 6c861b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ impl CFGR {
754754
pll48m1clk = Some((vco / q).Hz());
755755

756756
if self.clk48_source == Some(Clk48Source::Pll) {
757-
assert_eq!(q, 48_000_000);
757+
assert_eq!(pll48m1clk, 48_000_000);
758758
}
759759

760760
assert!(r <= 8); // Allowed max output divider

0 commit comments

Comments
 (0)