mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 18:15:59 +00:00
Add STA_SYSTEM_EVENT_ENABLE define
This commit is contained in:
parent
dde9b83a29
commit
89037e6145
@ -1,6 +1,10 @@
|
||||
#ifndef STA_SYSTEM_EVENT_HPP
|
||||
#define STA_SYSTEM_EVENT_HPP
|
||||
|
||||
#include <sta/config.hpp>
|
||||
|
||||
#ifdef STA_SYSTEM_EVENT_ENABLE
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@ -42,4 +46,6 @@ namespace sta
|
||||
} // namespace sta
|
||||
|
||||
|
||||
#endif // STA_SYSTEM_EVENT_ENABLE
|
||||
|
||||
#endif // STA_SYSTEM_EVENT_HPP
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user