kopia lustrzana https://github.com/OpenRTX/OpenRTX
Fixed missing SysTick initialisation when compiling for x86 target
rodzic
7f557cb758
commit
ce0e901d78
|
@ -69,6 +69,8 @@ static void startTask(void* arg)
|
||||||
/* SysTick is available only for ARM-based targets */
|
/* SysTick is available only for ARM-based targets */
|
||||||
#ifdef __arm__
|
#ifdef __arm__
|
||||||
OS_CPU_SysTickInitFreq(SystemCoreClock);
|
OS_CPU_SysTickInitFreq(SystemCoreClock);
|
||||||
|
#else
|
||||||
|
OS_CPU_SysTickInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialise platform drivers */
|
/* Initialise platform drivers */
|
||||||
|
|
Ładowanie…
Reference in New Issue