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:
48:03f8e580579a
Parent:
47:a0cd9646ecd1
Child:
50:a3c50882f2c5
--- a/USBMIDI/USBMIDI.h	Wed Apr 08 07:46:23 2015 +0100
+++ b/USBMIDI/USBMIDI.h	Thu Apr 16 11:00:20 2015 +0100
@@ -102,8 +102,11 @@
     virtual uint8_t * configurationDesc();
 
 private:
+    uint8_t data[MAX_MIDI_MESSAGE_SIZE+1];
+    uint8_t cur_data=0;
+    bool data_end = true;
+    
     void (*midi_evt)(MIDIMessage);
-
 };
 
 #endif