diff options
| author | hathach <[email protected]> | 2014-03-13 18:25:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-13 18:25:20 +0700 |
| commit | 6fbca0ea8731b7f50a895ae5c62fc2bbedde2550 (patch) | |
| tree | c98776c0f9b448a01b43f7d89b6624794d038ed4 /tinyusb/host | |
| parent | f1692c93ac7f9990490223cf924d84e1cbdcbeb6 (diff) | |
remove legacy code of msc_device.c read10 & write10
clean up some warnings
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/ehci/ehci.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c index c20112d73..213876f3e 100644 --- a/tinyusb/host/ehci/ehci.c +++ b/tinyusb/host/ehci/ehci.c @@ -621,12 +621,11 @@ static void period_list_xfer_complete_isr(uint8_t hostid, uint8_t interval_ms) }
break;
- case EHCI_QUEUE_ELEMENT_ITD:
+ case EHCI_QUEUE_ELEMENT_ITD: // TODO support hs/fs ISO
case EHCI_QUEUE_ELEMENT_SITD:
case EHCI_QUEUE_ELEMENT_FSTN:
- default:
- ASSERT (false, VOID_RETURN); // TODO support hs/fs ISO
- break;
+
+ default: break;
}
next_item = *list_next(&next_item);
@@ -717,12 +716,11 @@ static void xfer_error_isr(uint8_t hostid) }
break;
+ // TODO support hs/fs ISO
case EHCI_QUEUE_ELEMENT_ITD:
case EHCI_QUEUE_ELEMENT_SITD:
case EHCI_QUEUE_ELEMENT_FSTN:
- default:
- ASSERT (false, VOID_RETURN); // TODO support hs/fs ISO
- break;
+ default: break;
}
next_item = *list_next(&next_item);
|
