mirror of https://github.com/ARMmbed/mbed-os.git
[NUCLEO_F103RB] update SystemCoreClock after changing clock settings
parent
34eccbf435
commit
72e2d393a6
|
@ -230,6 +230,8 @@ void SystemInit (void)
|
|||
/* Configure the System clock frequency, HCLK, PCLK2 and PCLK1 prescalers */
|
||||
/* Configure the Flash Latency cycles and enable prefetch buffer */
|
||||
SetSysClock();
|
||||
|
||||
SystemCoreClockUpdate();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue