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.
Dependents: finalV1 finalV1 finalv2 finalv3 ... more
Diff: USBHID/USBHID.cpp
- Revision:
- 11:eeb3cbbaa996
- Parent:
- 10:1e3d126a322b
- Child:
- 21:ee9f2fa6bdbc
--- a/USBHID/USBHID.cpp Thu May 30 17:16:57 2013 +0100 +++ b/USBHID/USBHID.cpp Mon Aug 05 14:13:36 2013 +0300 @@ -250,8 +250,8 @@ 0x00, // bCountryCode 0x01, // bNumDescriptors REPORT_DESCRIPTOR, // bDescriptorType - LSB(this->reportDescLength()), // wDescriptorLength (LSB) - MSB(this->reportDescLength()), // wDescriptorLength (MSB) + (uint8_t)(LSB(this->reportDescLength())), // wDescriptorLength (LSB) + (uint8_t)(MSB(this->reportDescLength())), // wDescriptorLength (MSB) ENDPOINT_DESCRIPTOR_LENGTH, // bLength ENDPOINT_DESCRIPTOR, // bDescriptorType