From 58887170d2d6b534c40c62642db9da6c2d2db02d Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Mon, 8 Nov 2021 10:46:53 +0530 Subject: [PATCH] esp_modem: Update Task handle and Event Group handle to match freertos v10.4.3 This commit updates the default handles for Task type and Signal Group type to match the struct type handle from freertos v10.4.3. Signed-off-by: Sudeep Mohanty --- .../esp_modem/include/cxx_include/esp_modem_primitives.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_modem/include/cxx_include/esp_modem_primitives.hpp b/components/esp_modem/include/cxx_include/esp_modem_primitives.hpp index 9156abd2e..52263faf2 100644 --- a/components/esp_modem/include/cxx_include/esp_modem_primitives.hpp +++ b/components/esp_modem/include/cxx_include/esp_modem_primitives.hpp @@ -43,8 +43,8 @@ struct Lock { private: MutexT m{}; }; -using TaskT = void*; -using SignalT = void*; +using TaskT = TaskHandle_t; +using SignalT = EventGroupHandle_t; #else using Lock = std::mutex; struct SignalGroupInternal;