summaryrefslogtreecommitdiff
path: root/src/device
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/device
parentcca4be6c67e1084d57cc42a917a2c07678182c6e (diff)
Name queues for easier FreeRTOS debugging with task- and queue-aware debuggers
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 44c2530ce..b6c679b22 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -279,7 +279,7 @@ tu_static uint8_t _usbd_rhport = RHPORT_INVALID;
// Event queue
// usbd_int_set() is used as mutex in OS NONE config
-OSAL_QUEUE_DEF(usbd_int_set, _usbd_qdef, CFG_TUD_TASK_QUEUE_SZ, dcd_event_t);
+OSAL_QUEUE_DEF(usbd_int_set, usbd_events, CFG_TUD_TASK_QUEUE_SZ, dcd_event_t);
tu_static osal_queue_t _usbd_q;
// Mutex for claiming endpoint
@@ -410,7 +410,7 @@ bool tud_init (uint8_t rhport)
#endif
// Init device queue & task
- _usbd_q = osal_queue_create(&_usbd_qdef);
+ _usbd_q = osal_queue_create(&usbd_events);
TU_ASSERT(_usbd_q);
// Get application driver if available