From ba96a810c7015df253bac3fc1fc380dbfd1ee5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Sat, 7 Dec 2024 02:12:58 +0100 Subject: [PATCH] Use normal mutex instead of recursive --- src/system/freertos_plus_tcp/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/freertos_plus_tcp/system.c b/src/system/freertos_plus_tcp/system.c index 33adc95d1..395e6bc59 100644 --- a/src/system/freertos_plus_tcp/system.c +++ b/src/system/freertos_plus_tcp/system.c @@ -163,7 +163,7 @@ z_result_t _z_condvar_init(_z_condvar_t *cv) { } #if (configSUPPORT_STATIC_ALLOCATION == 1) - cv->mutex = xSemaphoreCreateRecursiveMutexStatic(&cv->mutex_buffer); + cv->mutex = xSemaphoreCreateMutexStatic(&cv->mutex_buffer); cv->sem = xSemaphoreCreateCountingStatic((UBaseType_t)(~0), 0, &cv->sem_buffer); #else cv->mutex = xSemaphoreCreateMutex();