zephyr/subsys/usb
Johann Fischer af63e488f0 usb: device_next: hid: fix Get Report buffer handling
After the get_report() callback, we need to determine how many bytes the
HID device wrote to the report buffer. Use the callback return value to
do this, and modify the net_buf data length value if get_report was
successful.

Reported-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-06-04 07:56:45 +02:00
..
device usb: cdc_acm: add locks around `ring_buf_put` 2024-06-03 03:44:45 -07:00
device_next usb: device_next: hid: fix Get Report buffer handling 2024-06-04 07:56:45 +02:00
host
usb_c
CMakeLists.txt