Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: blinky_max32630fthr FTHR_USB_serial FTHR_OLED HSP_RPC_GUI_3_0_1 ... more
Fork of USBDevice by
Diff: USBMIDI/USBMIDI.cpp
- Revision:
- 50:a3c50882f2c5
- Parent:
- 48:03f8e580579a
diff -r bee5808e91e3 -r a3c50882f2c5 USBMIDI/USBMIDI.cpp
--- a/USBMIDI/USBMIDI.cpp Thu Apr 16 11:46:08 2015 +0100
+++ b/USBMIDI/USBMIDI.cpp Mon Apr 20 10:45:54 2015 +0100
@@ -20,7 +20,9 @@
#include "USBMIDI.h"
-USBMIDI::USBMIDI(uint16_t vendor_id, uint16_t product_id, uint16_t product_release): USBDevice(vendor_id, product_id, product_release) {
+USBMIDI::USBMIDI(uint16_t vendor_id, uint16_t product_id, uint16_t product_release)
+ : USBDevice(vendor_id, product_id, product_release), cur_data(0), data_end(true)
+{
midi_evt = NULL;
USBDevice::connect();
}
