change config to use USB0 only

fix some compiler warnings
This commit is contained in:
hathach
2013-04-22 10:44:51 +07:00
parent ee9d53477a
commit 3f9a73a34d
5 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -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 )