diff --git a/include/coap3/coap_mutex_internal.h b/include/coap3/coap_mutex_internal.h index d70826e5..ffbf3929 100644 --- a/include/coap3/coap_mutex_internal.h +++ b/include/coap3/coap_mutex_internal.h @@ -114,7 +114,7 @@ typedef sys_mutex_t coap_mutex_t; #define coap_thread_pid GetCurrentThreadId() #else /* ! _WIN32 */ /* Assume this is therefore FreeRTOS */ -#define caop_thread_pid_t TaskHandle_t +#define coap_thread_pid_t TaskHandle_t #define coap_thread_pid xTaskGetCurrentTaskHandle() #endif /* ! _WIN32 */