Skip to content
Commit 0bf67d2c authored by Johann Fischer's avatar Johann Fischer Committed by Carles Cufí
Browse files

samples: hid: rework USB HID sample report and on_idle callback



HID sample has on_idle callback implementation present in the code,
but has not turned on USB_DEVICE_SOF and so does not have
corresponding code in sample self and class/hid/core.c covered.
Also on_idle implementation in HID sample has not taken into
account send_report() which also calls hid_int_ep_write().
This patch enables USB_DEVICE_SOF and revises both on_idle and
the regular report function.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent 4516ad0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment