summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-10 22:22:05 +0700
committerhathach <[email protected]>2022-03-10 22:22:05 +0700
commit171d021ab56960f8d7e222faa263168ead0f9d6a (patch)
treefe14a6aa391c89c328b1ecb9ae1ae90f4c8da42a /src/osal
parentb9ca301527040458bd369cf967732a76d5139222 (diff)
refactor and integrate usbh control xfer back to usbh.c
fix enumeration with hub when reset port before set address
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_none.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osal/osal_none.h b/src/osal/osal_none.h
index e1dd95c34..4217f0422 100644
--- a/src/osal/osal_none.h
+++ b/src/osal/osal_none.h
@@ -111,7 +111,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
+// _int_set is used as mutex in OS NONE (disable/enable USB ISR)
#define OSAL_QUEUE_DEF(_int_set, _name, _depth, _type) \
uint8_t _name##_buf[_depth*sizeof(_type)]; \
osal_queue_def_t _name = { \