diff options
| author | Ha Thach <[email protected]> | 2019-12-09 15:32:21 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-09 15:32:21 +0700 |
| commit | 88b9a6e84da33dc403ef1ae498851c34db632816 (patch) | |
| tree | 9b8983a735f24c7c91ca33ecffe26d8ac4c3bf97 /src | |
| parent | 97b90b6fc962ce6d78e7ecb7fa187cf9bf0a366e (diff) | |
| parent | 4a1f7d024315a8a280cf2ab1c5ba0c0d0c80fb7d (diff) | |
Merge pull request #233 from kasjer/kasjer/fix-ymnewt-osal
Fix mynewt osal queue definition
Diffstat (limited to 'src')
| -rw-r--r-- | src/osal/osal_mynewt.h | 2 |
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 |
