2018.07.26
Dependencies: FATFileSystem2 mbed-rtos
Fork of USBHost by
Diff: USBHost/USBEndpoint.cpp
- Revision:
- 24:868cbfe611a7
- Parent:
- 13:b58a2204422f
- Child:
- 38:028508fd50fa
--- 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;