2018.07.26
Dependencies: FATFileSystem2 mbed-rtos
Fork of USBHost by
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;