diff options
| author | hathach <[email protected]> | 2013-04-22 10:44:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-22 10:44:51 +0700 |
| commit | 3f9a73a34d2809007a0d6f5396a54ce7189271c2 (patch) | |
| tree | 24f73ae975d6a2278349e8c0fb645dc761985939 /tinyusb | |
| parent | ee9d53477ae74dd9730d1fbca1a0fad69027479b (diff) | |
change config to use USB0 only
fix some compiler warnings
Diffstat (limited to 'tinyusb')
| -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 2f61afe78..42752c4e2 100644 --- a/tinyusb/host/ehci/ehci.c +++ b/tinyusb/host/ehci/ehci.c @@ -531,7 +531,7 @@ void period_list_process_isr(uint8_t hostid, uint8_t interval_ms) // TODO abstract max loop guard for period while( !next_item.terminate && - !(interval_ms > 1 && align32(next_item.address) == get_period_head(hostid, 1)) && + !(interval_ms > 1 && align32(next_item.address) == (uint32_t) get_period_head(hostid, 1)) && max_loop < (EHCI_MAX_QHD + EHCI_MAX_ITD + EHCI_MAX_SITD)) { switch ( next_item.type ) |
