mbed USBHostMIDI improved. function pointer initialization and null checking

Revision:
5:fc157e6bd5a5
Parent:
1:ab240722d7ef
diff -r 1c76b46ad779 -r fc157e6bd5a5 USBHostHID/USBHostMouse.h
--- a/USBHostHID/USBHostMouse.h	Fri Feb 17 12:40:57 2017 +0100
+++ b/USBHostHID/USBHostMouse.h	Wed Apr 26 18:11:37 2017 +0200
@@ -113,8 +113,7 @@
     USBHost * host;
     USBDeviceConnected * dev;
     USBEndpoint * int_in;
-    uint8_t report[4];
-
+    uint8_t report[64];
     bool dev_connected;
     bool mouse_device_found;
     int mouse_intf;