USBDevice library fork to add multi-function (e.g. Keyboard(HID) + Virtual COM Port(CDC)) usb support.
Fork of USBDevice by
Diff: USBMIDI/USBMIDI.h
- Revision:
- 50:a3c50882f2c5
- Parent:
- 48:03f8e580579a
- Child:
- 70:7e8e3be9f0e3
diff -r bee5808e91e3 -r a3c50882f2c5 USBMIDI/USBMIDI.h --- 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); };