qmk_firmware/tmk_core/protocol
Sergey Vlasov 1ea54e5052
ChibiOS USB: Add a dummy IN callback to work around LLD bugs (#18811)
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.
2022-10-22 18:16:09 +01:00
..
arm_atsam Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
chibios ChibiOS USB: Add a dummy IN callback to work around LLD bugs (#18811) 2022-10-22 18:16:09 +01:00
lufa LUFA: Consolidate report sending code (#18629) 2022-10-15 12:53:57 -04:00
midi Redefinition of MIN is avoided in midi.c (#18203) 2022-08-29 12:18:53 -07:00
usb_hid
vusb Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
arm_atsam.mk
chibios.mk
host.c Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
host.h Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
host_driver.h Refactor send_extra (#18615) 2022-10-06 19:35:01 -07:00
lufa.mk
midi.mk
report.c
report.h Further refactoring of joystick feature (#18437) 2022-09-27 18:37:13 +10:00
usb_descriptor.c Merge remote-tracking branch 'origin/master' into develop 2022-09-12 18:57:58 -04:00
usb_descriptor.h Fix joystick functionality for ChibiOS and OTG (Blackpill) (#18631) 2022-10-13 10:28:49 +11:00
usb_descriptor_common.h
usb_device_state.c
usb_device_state.h
usb_hid.mk
usb_util.c
usb_util.h
vusb.mk