From ce0e901d78f81d1f05379c8b3f1e184d5b05aaf0 Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Fri, 30 Oct 2020 21:58:12 +0100 Subject: [PATCH] Fixed missing SysTick initialisation when compiling for x86 target --- openrtx/src/bootstrap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openrtx/src/bootstrap.c b/openrtx/src/bootstrap.c index 0cf903b3..09c00864 100644 --- a/openrtx/src/bootstrap.c +++ b/openrtx/src/bootstrap.c @@ -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 */