diff --git a/src/event.cpp b/src/event.cpp index 50999e2..d7032d9 100644 --- a/src/event.cpp +++ b/src/event.cpp @@ -1,4 +1,6 @@ #include +#include + namespace sta { RtosEvent::RtosEvent() { @@ -26,8 +28,7 @@ namespace sta { return osEventFlagsWait(event_id, flags, osFlagsWaitAny, timeout); } - uint32_t RtosEvent::peek(uint32_t flags, uint32_t timeout /* = osWaitForever */) - { + uint32_t RtosEvent::peek(uint32_t flags, uint32_t timeout /* = osWaitForever */) { return osEventFlagsWait(event_id, flags, osFlagsWaitAny | osFlagsNoClear, timeout); }