diff options
| author | hathach <[email protected]> | 2022-03-10 22:22:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-03-10 22:22:05 +0700 |
| commit | 171d021ab56960f8d7e222faa263168ead0f9d6a (patch) | |
| tree | fe14a6aa391c89c328b1ecb9ae1ae90f4c8da42a /src/osal | |
| parent | b9ca301527040458bd369cf967732a76d5139222 (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.h | 2 |
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 = { \ |
