coap_io.c: Updates for esp-idf port

This commit is contained in:
Jon Shallow authored and mrdeep1 committed 2022-07-27 11:21:28 +01:00
1 parent d2306569d1
commit 8fbe440f8a
2 files changed
+5

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ typedef mutex_t coap_mutex_t;
#else
/* define stub mutex functions */
#warning "stub mutex functions"
typedef int coap_mutex_t;
#define COAP_MUTEX_INITIALIZER 0
#define coap_mutex_lock(a) *(a) = 1