mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-21 14:59:06 +03:00
Define coap_mutex_t as sys_mutex on Zephyr
Changes definition of coap_mutex_t as k_mutex to sys_mutex to build properly with Zephyr. Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
This commit is contained in:
1 parent
2ca498822c
commit
a9808ade42
1 file changed
+1
-1
@@ -85,7 +85,7 @@ typedef int coap_mutex_t;
|
||||
#elif defined(__ZEPHYR__)
|
||||
#include <zephyr/sys/mutex.h>
|
||||
|
||||
typedef struct k_mutex coap_mutex_t;
|
||||
typedef struct sys_mutex coap_mutex_t;
|
||||
|
||||
#define coap_mutex_init(a) sys_mutex_init(a)
|
||||
#define coap_mutex_destroy(a)
|
||||
|
||||
Reference in new issue
Block a user