diff options
| author | hathach <[email protected]> | 2013-07-02 15:32:41 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-07-02 15:32:41 +0700 |
| commit | 7e5c6ded2d8e81912623ac866ba0a3a9f4142abc (patch) | |
| tree | 5b4273bd9b00b916f81c019794f213ce6d24c62a /tinyusb/host | |
| parent | b04b145965ca9c587ba17c614da694cdf1d8c3a0 (diff) | |
add tusbh_cdc_serial_is_mounted API
test for cdch close driver
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/ehci/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c index 97aaae680..3e75c265a 100644 --- a/tinyusb/host/ehci/ehci.c +++ b/tinyusb/host/ehci/ehci.c @@ -964,7 +964,7 @@ static ehci_link_t* list_find_previous_item(ehci_link_t* p_head, ehci_link_t* p_ uint32_t max_loop = 0; while( (align32(p_prev->address) != (uint32_t) p_head) && // not loop around (align32(p_prev->address) != (uint32_t) p_current) && // not found yet - !p_prev->terminate && // not advancable + !p_prev->terminate && // not advanceable max_loop < EHCI_MAX_QHD) { p_prev = list_next(p_prev); |
