You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stefan Kerkmann 4d107feca9
Check for ongoing transfers on the OUT endpoint (#16974)
...when attempting to start a receiving USB transfer. Previously, we would
check on the IN endpoint which is the transmitting part of the USB endpoint.
This is wrong and lead to two USB transfers being started immediately
after each other in case of e.g. RAW HID endpoints:

1. When finishing an OUT transfer the low level USB driver calls the out_cb
callback, which in turn initiates another OUT transfer by calling
qmkusbDataReceived.

2. When the raw hid receive channel runs empty inside the raw_hid task,
another OUT transfer is started to potentially fill the channel again. This
happens by calling ibnotify.

Both events occur directly after each other, thus triggering the bug.
4 years ago
..
arm_atsam Fix use of ISSI driver config before init (#16493) 4 years ago
chibios Check for ongoing transfers on the OUT endpoint (#16974) 4 years ago
lufa Format code according to conventions (#16322) 4 years ago
midi Format code according to conventions (#16322) 4 years ago
usb_hid [Bug] Fix timer include in override_wiring.c (#15221) 4 years ago
vusb VUSB - Use correct endpoint poll for VIA (#16691) 4 years ago
arm_atsam.mk Initial USB2422 driver (#14835) 4 years ago
chibios.mk
host.c Format code according to conventions (#16322) 4 years ago
host.h Relocate protocol files within tmk_core/common/ (#14972) 4 years ago
host_driver.h Relocate protocol files within tmk_core/common/ (#14972) 4 years ago
lufa.mk Move Bluetooth config to common_features.mk (#14404) 4 years ago
midi.mk
report.c [Core] Move `has_mouse_report_changed` function to `report.c` (#16543) 4 years ago
report.h [Core] Move `has_mouse_report_changed` function to `report.c` (#16543) 4 years ago
serial.h
serial_soft.c
serial_uart.c
usb_descriptor.c Joystick: Simplify report descriptor and clean up error messages (#16926) 4 years ago
usb_descriptor.h Format code according to conventions (#16322) 4 years ago
usb_descriptor_common.h
usb_device_state.c Format code according to conventions (#16322) 4 years ago
usb_device_state.h Format code according to conventions (#16322) 4 years ago
usb_hid.mk
usb_util.c Format code according to conventions (#16322) 4 years ago
usb_util.h Relocate protocol files within tmk_core/common/ (#14972) 4 years ago
vusb.mk