forked from mirrors/qmk_firmware
1ea54e5052
In #18631 some IN notification callbacks that were doing nothing were removed, which should be a valid thing to do (ChibiOS HAL checks the `in_cb` and `out_cb` pointers for being non-NULL before invoking those optional callbacks). However, it turned out that some less popular USB LLDs (KINETIS and MIMXRT1062) have their own checks for those pointers, and (incorrectly) skip the ChibiOS callback handling when those pointers are NULL, which breaks the code for the `USB_USE_WAIT` configuration option (the waiting thread never gets resumed if the corresponding callback pointer is NULL). Add those dummy callbacks again (but use a single function for all of them instead of individual ones for each endpoint); this restores the KINETIS and MIMXRT1062 boards to the working state while the LLDs are getting fixed. |
||
---|---|---|
.. | ||
arm_atsam | ||
chibios | ||
lufa | ||
midi | ||
usb_hid | ||
vusb | ||
arm_atsam.mk | ||
chibios.mk | ||
host.c | ||
host.h | ||
host_driver.h | ||
lufa.mk | ||
midi.mk | ||
report.c | ||
report.h | ||
usb_descriptor.c | ||
usb_descriptor.h | ||
usb_descriptor_common.h | ||
usb_device_state.c | ||
usb_device_state.h | ||
usb_hid.mk | ||
usb_util.c | ||
usb_util.h | ||
vusb.mk |