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.
Fork of USBHost by
Revision 16:ab8c9118524e, committed 2013-10-09
- Comitter:
- mbed_official
- Date:
- Wed Oct 09 13:15:21 2013 +0100
- Parent:
- 15:6da3f071ee35
- Child:
- 17:c7b1b8451598
- Commit message:
- Synchronized with git revision 330e59fb850b83aefe641d40f9cf02873ab00d08
Changed in this revision
| USBHost/USBHost.cpp | Show annotated file Show diff for this revision Revisions of this file |
| USBHost/USBHost.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBHost/USBHost.cpp Mon Oct 07 09:15:28 2013 +0100
+++ b/USBHost/USBHost.cpp Wed Oct 09 13:15:21 2013 +0100
@@ -852,7 +852,7 @@
pEnumerator->setVidPid( data[8] | (data[9] << 8), data[10] | (data[11] << 8) );
- res = getConfigurationDescriptor(dev, data, 300, &total_conf_descr_length);
+ res = getConfigurationDescriptor(dev, data, sizeof(data), &total_conf_descr_length);
if (res != USB_TYPE_OK) {
usb_mutex.unlock();
return res;
--- a/USBHost/USBHost.h Mon Oct 07 09:15:28 2013 +0100
+++ b/USBHost/USBHost.h Wed Oct 09 13:15:21 2013 +0100
@@ -272,7 +272,7 @@
Mutex td_mutex;
// buffer for conf descriptor
- uint8_t data[300];
+ uint8_t data[415];
/**
* Add a transfer on the TD linked list associated to an ED
