summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorDave Nadler <[email protected]>2023-06-28 17:25:22 -0400
committerDave Nadler <[email protected]>2023-06-28 17:25:22 -0400
commit11fba59319d81fb9502fbf399abb4fe27cf3fa29 (patch)
tree4dde34cae2f10d95fdcb9c057a4702b52b897fa1 /src/host
parentcca4be6c67e1084d57cc42a917a2c07678182c6e (diff)
Name queues for easier FreeRTOS debugging with task- and queue-aware debuggers
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c
index f3e9d3858..987ff7a6e 100644
--- a/src/host/usbh.c
+++ b/src/host/usbh.c
@@ -219,7 +219,7 @@ static usbh_device_t _usbh_devices[TOTAL_DEVICES];
// Event queue
// usbh_int_set is used as mutex in OS NONE config
-OSAL_QUEUE_DEF(usbh_int_set, _usbh_qdef, CFG_TUH_TASK_QUEUE_SZ, hcd_event_t);
+OSAL_QUEUE_DEF(usbh_int_set, usbh_events, CFG_TUH_TASK_QUEUE_SZ, hcd_event_t);
static osal_queue_t _usbh_q;
CFG_TUH_MEM_SECTION CFG_TUH_MEM_ALIGN
@@ -330,7 +330,7 @@ bool tuh_init(uint8_t controller_id)
TU_LOG_INT(USBH_DEBUG, sizeof(tu_edpt_stream_t));
// Event queue
- _usbh_q = osal_queue_create( &_usbh_qdef );
+ _usbh_q = osal_queue_create( &usbh_events );
TU_ASSERT(_usbh_q != NULL);
#if OSAL_MUTEX_REQUIRED