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.
Revision 3:a71b7d2b97ef, committed 2014-04-28
- Comitter:
- yamasho
- Date:
- Mon Apr 28 07:37:14 2014 +0000
- Parent:
- 2:2dc4682d7c0f
- Commit message:
- Description Modify;
Changed in this revision
USBBULK.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBBULK.cpp Wed Feb 26 15:05:45 2014 +0000 +++ b/USBBULK.cpp Mon Apr 28 07:37:14 2014 +0000 @@ -216,8 +216,8 @@ /* *****Configuration Descriptor ******** */ CONFIGURATION_DESCRIPTOR_LENGTH,// bLength (#9) CONFIGURATION_DESCRIPTOR, // bDescriptorType (#2) - LSB(MAX_BULK_SIZE), // wTotalLength (LSB) - MSB(MAX_BULK_SIZE), // wTotalLength (MSB) + LSB(CONFIGURATION_DESCRIPTOR_LENGTH+INTERFACE_DESCRIPTOR_LENGTH+ENDPOINT_DESCRIPTOR_LENGTH*2), // wTotalLength (LSB) + MSB(CONFIGURATION_DESCRIPTOR_LENGTH+INTERFACE_DESCRIPTOR_LENGTH+ENDPOINT_DESCRIPTOR_LENGTH*2), // wTotalLength (MSB) 0x01, // bNumInterfaces DEFAULT_CONFIGURATION, // bConfigurationValue 0x00, // iConfiguration