added precompiler check

This commit is contained in:
Iveta 2024-06-02 19:02:27 +03:00
parent 10870f0c24
commit 6b2524f14b

View File

@ -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)