USBHOST lib for STM

Dependents:   door-access-controller-dev

Add Basic initializations and NULLr Checking for rx handlers

Current USBHostMIDI class implementation does not check whether each RX handler actually exists. This pull request adds RX handler initialization and NULL checking.

We can avoid program suddenly goes into fault handler when connecting USB MIDI devices with this pull request.

mbed USBHostMIDI improved. function pointer initialization and null checking