Support the Indexed name LOCK->LOCK0

This commit is contained in:
David Sidrane
2017-02-07 12:38:28 -10:00
parent 6022c62229
commit 87f759172a
+1 -1
View File
@@ -224,7 +224,7 @@ void kinetis_pllconfig(void)
/* Wait for the PLL LOCK bit to set */
while ((getreg8(KINETIS_MCG_S) & MCG_S_LOCK) == 0);
while ((getreg8(KINETIS_MCG_S) & MCG_S_LOCK0) == 0);
/* We are now running in PLL Bypassed External (PBE) mode. Transition to
* PLL Engaged External (PEE) mode by setting CLKS to 0