diff options
| author | pete-pjb <[email protected]> | 2023-01-03 10:33:36 +0000 |
|---|---|---|
| committer | pete-pjb <[email protected]> | 2023-01-03 10:33:36 +0000 |
| commit | f5cffeedec863c1efd59688fa79a8455046e8377 (patch) | |
| tree | f624f98e929704ec6b592b41a6177563916e05cb /src/host | |
| parent | 549bee94add9d8f1c346bfa0fa6b25481db3f191 (diff) | |
Fix typo in audio.h. Specifiy _ctrl_xfer struct in CFG_TUSB_MEM_SECTION
Add NULL check to loop in list_remove_qhd_by_addr() function in ehci.c
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index af1e67d4d..5ac9e9cca 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -229,10 +229,10 @@ static osal_queue_t _usbh_q; CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static uint8_t _usbh_ctrl_buf[CFG_TUH_ENUMERATION_BUFSIZE]; -// Control transfer: since most controller does not support multiple control transfer -// on multiple devices concurrently. And control transfer is not used much except enumeration -// We will only execute control transfer one at a time. -struct +// Control transfers: since most controllers do not support multiple control transfers +// on multiple devices concurrently and control transfers are not used much except for +// enumeration, we will only execute control transfers one at a time. +CFG_TUSB_MEM_SECTION struct { tusb_control_request_t request TU_ATTR_ALIGNED(4); uint8_t* buffer; |
