From b50556c9972a12671d9879de4a63afbfe6b31a19 Mon Sep 17 00:00:00 2001 From: dario Date: Wed, 19 Jun 2024 15:07:33 +0200 Subject: [PATCH] Added waitAll for event --- include/sta/event.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sta/event.hpp b/include/sta/event.hpp index 56b05a9..019f8ad 100644 --- a/include/sta/event.hpp +++ b/include/sta/event.hpp @@ -41,6 +41,8 @@ namespace sta * @param timeout timeout in ms., default to forever. */ virtual uint32_t wait(uint32_t flags, uint32_t timeout = osWaitForever) = 0; + + virtual uint32_t waitAll(uint32_t flags, uint32_t timeout = osWaitForever) = 0; }; } // namespace sta