Correctly check PLL readiness
This commit is contained in:
@@ -2288,7 +2288,7 @@ static void system_clock_init(void) {
|
||||
|
||||
|
||||
|
||||
while (!(((struct rcc *) (0x40023800U))->CR & (1 << 17)));
|
||||
while (!(((struct rcc *) (0x40023800U))->CR & (1 << 25)));
|
||||
|
||||
|
||||
((struct flash *) (0x40023C00U))->ACR |= (1 <<10);
|
||||
|
||||
Reference in New Issue
Block a user