mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 21:01:31 +00:00
Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set.
This commit is contained in:
parent
27f0ba6fc3
commit
e652cfac67
@ -249,7 +249,7 @@ uint8_t HID_Host_SendReportByID(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo
|
|||||||
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
|
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
|
||||||
.wValue = ((REPORT_ITEM_TYPE_Out + 1) << 8) | ReportID,
|
.wValue = ((REPORT_ITEM_TYPE_Out + 1) << 8) | ReportID,
|
||||||
#else
|
#else
|
||||||
.wValue = 0,
|
.wValue = ((REPORT_ITEM_TYPE_Out + 1) << 8),
|
||||||
#endif
|
#endif
|
||||||
.wIndex = HIDInterfaceInfo->State.InterfaceNumber,
|
.wIndex = HIDInterfaceInfo->State.InterfaceNumber,
|
||||||
.wLength = ReportSize,
|
.wLength = ReportSize,
|
||||||
|
@ -58,6 +58,8 @@
|
|||||||
* read (thanks to Andrei Krainev)
|
* read (thanks to Andrei Krainev)
|
||||||
* - Fixed device state not being reset back to the default state if the host sets the address to 0
|
* - Fixed device state not being reset back to the default state if the host sets the address to 0
|
||||||
* - Fixed Set Configuration requests not being stalled until the host has set the device's address
|
* - Fixed Set Configuration requests not being stalled until the host has set the device's address
|
||||||
|
* - Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the
|
||||||
|
* HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set
|
||||||
*
|
*
|
||||||
* \section Sec_ChangeLog100219 Version 100219
|
* \section Sec_ChangeLog100219 Version 100219
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user