Skip to content
Commit af63e488 authored by Johann Fischer's avatar Johann Fischer Committed by Henrik Brix Andersen
Browse files

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: default avatarMarek Pieta <Marek.Pieta@nordicsemi.no>
Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent a33341ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment