mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
Support the Indexed name LOCK->LOCK0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user