mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-14 20:29:43 +03:00
coap_io.c: Updates for esp-idf port
This commit is contained in:
1 parent
d2306569d1
commit
8fbe440f8a
2 files changed
+5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user