Adaptation of the official mbed USBHost repository to work with the LPC4088 Display Module
Dependents: DMSupport DMSupport DMSupport DMSupport
Fork of DM_USBHost by
Diff: USBHost/USBEndpoint.cpp
- Revision:
- 24:868cbfe611a7
- Parent:
- 13:b58a2204422f
diff -r 759ec18ee1a7 -r 868cbfe611a7 USBHost/USBEndpoint.cpp --- a/USBHost/USBEndpoint.cpp Fri Mar 07 16:00:46 2014 +0000 +++ b/USBHost/USBEndpoint.cpp Tue Jun 03 11:30:38 2014 +0100 @@ -29,7 +29,7 @@ memcpy((HCTD**)td_list, td_list_, sizeof(HCTD*)*2); //TODO: Maybe should add a param for td_list size... at least a define memset(td_list_[0], 0, sizeof(HCTD)); memset(td_list_[1], 0, sizeof(HCTD)); - + td_list[0]->ep = this; td_list[1]->ep = this; @@ -52,7 +52,7 @@ td_current = td_list[0]; td_next = td_list[1]; - + intf_nb = 0; state = USB_TYPE_IDLE;