Merge pull request #1629 from davidpurser/stm32h7-pll-fix

Correctly calculate target VCO frequency from multipliers
This commit is contained in:
xoviat 2023-07-08 02:42:52 +00:00 committed by GitHub
commit 758a2c528f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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!(vco_ck >= VCO_MIN);