USB device stack

Fork of USBDevice by mbed official

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