diff options
| author | Ha Thach <[email protected]> | 2023-01-06 10:24:55 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-06 10:24:55 +0700 |
| commit | 6e23c596ccb381aa606103727d2f19247822f3a3 (patch) | |
| tree | b400c0e1729d226c6707812e033de5abee4124ff /src/portable | |
| parent | cde16b802bb1d652ef578d44bd448a5c4880ee71 (diff) | |
| parent | f5cffeedec863c1efd59688fa79a8455046e8377 (diff) | |
Merge pull request #1837 from pete-pjb/master
Fix typo in audio.h. Specifiy _ctrl_xfer struct in CFG_TUSB_MEM_SECTION in usbh.c
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/ehci/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c index 80f616478..7140897a1 100644 --- a/src/portable/ehci/ehci.c +++ b/src/portable/ehci/ehci.c @@ -188,7 +188,7 @@ tusb_speed_t hcd_port_speed_get(uint8_t rhport) static void list_remove_qhd_by_addr(ehci_link_t* list_head, uint8_t dev_addr) { for(ehci_link_t* prev = list_head; - !prev->terminate && (tu_align32(prev->address) != (uint32_t) list_head); + !prev->terminate && (tu_align32(prev->address) != (uint32_t) list_head) && prev != NULL; prev = list_next(prev) ) { // TODO check type for ISO iTD and siTD |
