mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-03-12 04:08:15 +01:00
parent
5d422deed1
commit
e1c5fd34e4
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ void pll_init(PLL pll, uint refdiv, uint vco_freq, uint post_div1, uint post_div
|
|||
if ((pll->cs & PLL_CS_LOCK_BITS) &&
|
||||
(refdiv == (pll->cs & PLL_CS_REFDIV_BITS)) &&
|
||||
(fbdiv == (pll->fbdiv_int & PLL_FBDIV_INT_BITS)) &&
|
||||
(pdiv == (pll->prim & (PLL_PRIM_POSTDIV1_BITS & PLL_PRIM_POSTDIV2_BITS)))) {
|
||||
(pdiv == (pll->prim & (PLL_PRIM_POSTDIV1_BITS | PLL_PRIM_POSTDIV2_BITS)))) {
|
||||
// do not disrupt PLL that is already correctly configured and operating
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue