summaryrefslogtreecommitdiff
path: root/src/osal/osal_pico.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-02-23 18:42:32 +0700
committerhathach <[email protected]>2022-02-25 18:35:21 +0700
commit4a5a53b3b88fcd2f5ec7f1f94eb07c27cb1e9bec (patch)
tree3f005e9cb4adcf39b8c67860890987f96b650212 /src/osal/osal_pico.h
parentb797d1aa50310a46d430ff0efd66d7e88028de3b (diff)
improve rphort management for usbd
Diffstat (limited to 'src/osal/osal_pico.h')
-rw-r--r--src/osal/osal_pico.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osal/osal_pico.h b/src/osal/osal_pico.h
index 1c3366e01..4843d6450 100644
--- a/src/osal/osal_pico.h
+++ b/src/osal/osal_pico.h
@@ -114,7 +114,7 @@ typedef struct
typedef osal_queue_def_t* osal_queue_t;
// role device/host is used by OS NONE for mutex (disable usb isr) only
-#define OSAL_QUEUE_DEF(_role, _name, _depth, _type) \
+#define OSAL_QUEUE_DEF(_int_set, _name, _depth, _type) \
uint8_t _name##_buf[_depth*sizeof(_type)]; \
osal_queue_def_t _name = { \
.ff = TU_FIFO_INIT(_name##_buf, _depth, _type, false) \