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
midi
usb_hid
vusb VUSB - Use correct endpoint poll for VIA (#16691) 4 years ago
arm_atsam.mk
chibios.mk
host.c
host.h
host_driver.h
lufa.mk
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
usb_descriptor_common.h
usb_device_state.c
usb_device_state.h
usb_hid.mk
usb_util.c
usb_util.h
vusb.mk