Merge pull request #1629 from davidpurser/stm32h7-pll-fix
Correctly calculate target VCO frequency from multipliers
This commit is contained in:
commit
758a2c528f
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ mod pll {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let vco_ck = output + pll_x_p;
|
let vco_ck = output * pll_x_p;
|
||||||
|
|
||||||
assert!(pll_x_p < 128);
|
assert!(pll_x_p < 128);
|
||||||
assert!(vco_ck >= VCO_MIN);
|
assert!(vco_ck >= VCO_MIN);
|
||||||
|
|
Loading…
Reference in a new issue