USBDevice with compilation error in USBSerial fixed.

Fork of USBDevice by Maxim Integrated

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();
 }