mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-08-06 19:17:34 +00:00
Add STA_SYSTEM_EVENT_ENABLE define
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include <sta/system_event.hpp>
|
||||
|
||||
#ifdef STA_SYSTEM_EVENT_ENABLE
|
||||
|
||||
#include <cmsis_os2.h>
|
||||
|
||||
|
||||
@@ -30,3 +32,6 @@ namespace sta
|
||||
waitForSystemEvents(STA_SYSTEM_EVENT_STARTUP, osFlagsWaitAll, osWaitForever);
|
||||
}
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_SYSTEM_EVENT_ENABLE
|
Reference in New Issue
Block a user