mbed USBHostMIDI improved. function pointer initialization and null checking
Diff: USBHost/USBHALHost.h
- Revision:
- 5:fc157e6bd5a5
- Parent:
- 1:ab240722d7ef
--- a/USBHost/USBHALHost.h Fri Feb 17 12:40:57 2017 +0100 +++ b/USBHost/USBHALHost.h Wed Apr 26 18:11:37 2017 +0200 @@ -164,6 +164,10 @@ bool volatile edBufAlloc[MAX_ENDPOINT]; bool volatile tdBufAlloc[MAX_TD]; +#ifdef USBHOST_OTHER + int control_disable; +#endif + }; #endif