usb: device: hid: correct bcdHID to v1.11 spec
bcdHID is intended for the spec version of USB HID. It was pointing to the v1.1 bcdUSB define which happens to be the same value for the v1.10 hid spec version. This corrects it to use the v1.11 HID spec. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
parent
3369137b34
commit
34cfba73b4
2 changed files with 4 additions and 1 deletions
|
@ -82,7 +82,7 @@ struct usb_hid_config {
|
|||
{ \
|
||||
.bLength = sizeof(struct usb_hid_descriptor), \
|
||||
.bDescriptorType = USB_DESC_HID, \
|
||||
.bcdHID = sys_cpu_to_le16(USB_SRN_1_1), \
|
||||
.bcdHID = sys_cpu_to_le16(USB_HID_VERSION), \
|
||||
.bCountryCode = 0, \
|
||||
.bNumDescriptors = 1, \
|
||||
.subdesc[0] = { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue