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/USBHost.cpp
- Revision:
- 10:0c11cf1cc218
- Parent:
- 9:7671b6a8c363
- Child:
- 13:b58a2204422f
--- a/USBHost/USBHost.cpp Thu Mar 14 14:20:03 2013 +0000 +++ b/USBHost/USBHost.cpp Mon Mar 18 14:46:56 2013 +0000 @@ -423,7 +423,7 @@ for (int i = 0; i < dev->getInterface(j)->nb_endpoint; i++) { if ((ep = dev->getEndpoint(j, i)) != NULL) { ed = (HCED *)ep->getHCED(); - ed->control |= (1 << 13); //sKip bit + ed->control |= (1 << 14); //sKip bit unqueueEndpoint(ep); freeTD((volatile uint8_t*)ep->getTDList()[0]); @@ -851,7 +851,7 @@ pEnumerator->setVidPid( data[8] | (data[9] << 8), data[10] | (data[11] << 8) ); - res = getConfigurationDescriptor(dev, data, 400, &total_conf_descr_length); + res = getConfigurationDescriptor(dev, data, 300, &total_conf_descr_length); if (res != USB_TYPE_OK) { usb_mutex.unlock(); return res;