summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-09 12:26:56 +0700
committerhathach <[email protected]>2022-03-09 12:26:56 +0700
commit2f593e767c28ac5b789a5def2221620c1a2e58b8 (patch)
tree6b87eaf7759ef3569f9df68de4ebba7460262f72 /src/device
parentf920e1c17102cac04b20ad3908efff24d96d8e7c (diff)
update use of mutex for host
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 7926689b7..b14b5e0fc 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -273,7 +273,7 @@ enum { RHPORT_INVALID = 0xFFu };
static uint8_t _usbd_rhport = RHPORT_INVALID;
// Event queue
-// OPT_MODE_DEVICE is used by OS NONE for mutex (disable usb isr)
+// 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);
static osal_queue_t _usbd_q;