USB device stack

Dependents:   mbed-mX-USB-TEST1 USBMSD_SD_HID_HelloWorld HidTest MIDI_usb_bridge ... more

Legacy Warning

This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.

Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.

Revision:
10:1e3d126a322b
Parent:
1:80ab0d068708
Child:
11:eeb3cbbaa996
--- a/USBHID/USBHID.cpp	Mon Mar 04 13:37:51 2013 +0000
+++ b/USBHID/USBHID.cpp	Thu May 30 17:16:57 2013 +0100
@@ -202,10 +202,10 @@
         0x75, 0x08,         // report size = 8 bits
         0x15, 0x00,         // logical minimum = 0
         0x26, 0xFF, 0x00,   // logical maximum = 255
-        0x95, input_length,           // report count
+        0x95, input_length, // report count
         0x09, 0x01,         // usage
         0x81, 0x02,         // Input (array)
-        0x95, output_length,           // report count
+        0x95, output_length,// report count
         0x09, 0x02,         // usage
         0x91, 0x02,         // Output (array)
         0xC0                // end collection