Fixed missing SysTick initialisation when compiling for x86 target

This commit is contained in:
Silvano Seva 2020-10-30 21:58:12 +01:00 committed by Niccolò Izzo
parent 7f557cb758
commit ce0e901d78
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ static void startTask(void* arg)
/* SysTick is available only for ARM-based targets */
#ifdef __arm__
OS_CPU_SysTickInitFreq(SystemCoreClock);
#else
OS_CPU_SysTickInit();
#endif
/* Initialise platform drivers */