Support Isochronous transfer additionally

Dependents:   USBHostC270_example_GR-PEACH USBHostDac_example USBHostDac_Audio_in_out

Fork of USBHost_custom by Renesas

Revision:
34:028508fd50fa
Parent:
24:868cbfe611a7
--- a/USBHost/USBEndpoint.cpp	Fri Dec 11 16:16:06 2015 +0000
+++ b/USBHost/USBEndpoint.cpp	Thu Feb 18 09:46:13 2016 +0000
@@ -140,7 +140,7 @@
 
     //Now add this free TD at this end of the queue
     state = USB_TYPE_PROCESSING;
-    td_current->nextTD = td_next;
+    td_current->nextTD = (hcTd*)td_next;
     hced->tailTD = td_next;
 }
 
@@ -158,5 +158,5 @@
 void USBEndpoint::queueEndpoint(USBEndpoint * ed)
 {
     nextEp = ed;
-    hced->nextED = (ed == NULL) ? 0 : ed->getHCED();
+    hced->nextED = (ed == NULL) ? 0 : (hcEd*)(ed->getHCED());
 }