From 0e1ffca5bed5775f9b5c5cf6baa902b3f09da182 Mon Sep 17 00:00:00 2001 From: dario Date: Wed, 29 May 2024 14:20:10 +0200 Subject: [PATCH] Changed max delay time to also work without STM32 --- include/sta/event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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