From 6b2524f14b80f8f10fc1e4452017289aa913149f Mon Sep 17 00:00:00 2001 From: Iveta Date: Sun, 2 Jun 2024 19:02:27 +0300 Subject: [PATCH] added precompiler check --- src/system/startup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/startup.cpp b/src/system/startup.cpp index bbe4b03..de6514d 100644 --- a/src/system/startup.cpp +++ b/src/system/startup.cpp @@ -51,7 +51,9 @@ void startALPAKA(void * arg) sta::rtos::startupExtras(arg); // Wake threads +#ifdef STA_RTOS_SYSTEM_EVENTS_ENABLE sta::rtos::signalStartupEvent(); +#endif // STA_RTOS_SYSTEM_EVENTS_ENABLE // Check if called from thread if (osThreadGetId() != nullptr)