mbed USBHostMIDI improved. function pointer initialization and null checking
Diff: USBHostHID/USBHostMouse.h
- Revision:
- 5:fc157e6bd5a5
- Parent:
- 1:ab240722d7ef
--- 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;