mirror of https://github.com/ARMmbed/mbed-os.git
468df713fc
Ignore interrupts on disabled USB endpoints. This prevents handling interrupts when in the wrong state. Prior to this patch when running the serial test on a K64F the assert on line 908 of USBDevice.cpp would sometimes be triggered. This assert indicates that an endpoint 0 IN interrupt occurred before the device was ready. This occurs during the test_cdc_usb_reconnect test when the host sends a "Set Control Line State" USB request and the device acknowledges it just before USB is disconnected. |
||
---|---|---|
.. | ||
USBAudio | ||
USBDevice | ||
USBHID | ||
USBMIDI | ||
USBMSD | ||
USBPhy | ||
USBSerial | ||
hal | ||
targets | ||
utilities |