summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-12-21 23:53:48 +0700
committerhathach <[email protected]>2019-12-21 23:53:48 +0700
commit94e70f9b016edfcdea165674e17201fda88a089b (patch)
tree154c4db08bdc239078b84f1c94f0d2019303f6af /src/osal
parent421221baa5b8509b705f76def43fd684c5fe06df (diff)
parenta601f59df5e61801cbbe87467c70a48b740d4bfd (diff)
Merge branch 'master' into port-samg55
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_mynewt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osal/osal_mynewt.h b/src/osal/osal_mynewt.h
index da7977d39..e47e140c1 100644
--- a/src/osal/osal_mynewt.h
+++ b/src/osal/osal_mynewt.h
@@ -98,7 +98,7 @@ static inline bool osal_mutex_unlock(osal_mutex_t mutex_hdl)
// role device/host is used by OS NONE for mutex (disable usb isr) only
#define OSAL_QUEUE_DEF(_role, _name, _depth, _type) \
static _type _name##_##buf[_depth];\
- static struct os_event* _name##_##evbuf[_depth];\
+ static struct os_event _name##_##evbuf[_depth];\
osal_queue_def_t _name = { .depth = _depth, .item_sz = sizeof(_type), .buf = _name##_##buf, .evbuf = _name##_##evbuf};\
typedef struct