mirror of https://github.com/ARMmbed/mbed-os.git
add Systick configuration function in Init function
parent
3b412128af
commit
65601525d6
|
@ -35,4 +35,5 @@ void mbed_sdk_init()
|
|||
{
|
||||
// Update the SystemCoreClock variable.
|
||||
SystemInit();
|
||||
SysTick_Config((GetSystemClock()/1000));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue