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:
50:a3c50882f2c5
Parent:
48:03f8e580579a
--- a/USBMIDI/USBMIDI.h	Thu Apr 16 11:46:08 2015 +0100
+++ b/USBMIDI/USBMIDI.h	Mon Apr 20 10:45:54 2015 +0100
@@ -103,8 +103,8 @@
 
 private:
     uint8_t data[MAX_MIDI_MESSAGE_SIZE+1];
-    uint8_t cur_data=0;
-    bool data_end = true;
+    uint8_t cur_data;
+    bool data_end;
     
     void (*midi_evt)(MIDIMessage);
 };