test
Dependents: Production_version1_0 Production_ver1_0 USBHost_TEST USBHost_Test5 ... more
Fork of USBHost by
Diff: USBHost/USBEndpoint.cpp
- Revision:
- 34:028508fd50fa
- Parent:
- 24:868cbfe611a7
- Child:
- 37:f1e388e7b752
--- 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()); }