USB device stack with USBSeral Stream Named
Fork of USBDevice by
Diff: USBMIDI/USBMIDI.h
- Revision:
- 48:03f8e580579a
- Parent:
- 47:a0cd9646ecd1
- Child:
- 50:a3c50882f2c5
diff -r a0cd9646ecd1 -r 03f8e580579a USBMIDI/USBMIDI.h --- 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