diff --git a/include/sta/event.hpp b/include/sta/event.hpp index 56b05a9..936858c 100644 --- a/include/sta/event.hpp +++ b/include/sta/event.hpp @@ -40,7 +40,7 @@ namespace sta * @param flags flag nr. to wait for. * @param timeout timeout in ms., default to forever. */ - virtual uint32_t wait(uint32_t flags, uint32_t timeout = osWaitForever) = 0; + virtual uint32_t wait(uint32_t flags, uint32_t timeout = portMAX_DELAY) = 0; }; } // namespace sta