Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem mbed-rtos
Dependents: Peach_AudioChannelDividerAndCompensator
Diff: USBHost/USBEndpoint.cpp
- Revision:
- 24:868cbfe611a7
- Parent:
- 13:b58a2204422f
--- 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;