diff --git a/radio/src/rtos.h b/radio/src/rtos.h index 089305a0e..ba52bc1d6 100644 --- a/radio/src/rtos.h +++ b/radio/src/rtos.h @@ -222,6 +222,7 @@ template static inline void RTOS_CREATE_MUTEX(RTOS_MUTEX_HANDLE& h) { h.rtos_handle = xSemaphoreCreateBinaryStatic(&h.mutex_struct); + xSemaphoreGive(h.rtos_handle); } static inline void RTOS_LOCK_MUTEX(RTOS_MUTEX_HANDLE& h)