Since UDC buffers are allocated with `UDC_BUF_GRANULARITY` granularity, the `net_buf_tailroom` may no longer be equal to the HID report size. Use `setup->wLength` instead to ensure that proper HID report size is passed to the application's callback. Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| bt_hci.c | ||
| Kconfig | ||
| Kconfig.bt | ||
| Kconfig.cdc_acm | ||
| Kconfig.cdc_ecm | ||
| Kconfig.hid | ||
| Kconfig.loopback | ||
| Kconfig.msc | ||
| Kconfig.template.instances_count | ||
| Kconfig.uac2 | ||
| loopback.c | ||
| usbd_cdc_acm.c | ||
| usbd_cdc_ecm.c | ||
| usbd_hid_api.c | ||
| usbd_hid_internal.h | ||
| usbd_hid_macros.h | ||
| usbd_hid.c | ||
| usbd_msc_scsi.c | ||
| usbd_msc_scsi.h | ||
| usbd_msc.c | ||
| usbd_msc.ld | ||
| usbd_uac2_macros.h | ||
| usbd_uac2.c | ||