forked from mfulz_github/qmk_firmware
Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using the incorrect mode (control/pipe) to send report to the attached device.
This commit is contained in:
parent
89c837ee34
commit
baa1b22654
|
@ -213,7 +213,7 @@ uint8_t HID_Host_SendReportByID(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo
|
||||||
if ((USB_HostState != HOST_STATE_Configured) || !(HIDInterfaceInfo->State.IsActive))
|
if ((USB_HostState != HOST_STATE_Configured) || !(HIDInterfaceInfo->State.IsActive))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (HIDInterfaceInfo->State.DeviceUsesOUTPipe)
|
if (!(HIDInterfaceInfo->State.DeviceUsesOUTPipe))
|
||||||
{
|
{
|
||||||
USB_ControlRequest = (USB_Request_Header_t)
|
USB_ControlRequest = (USB_Request_Header_t)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
* - Fixed PrinterHost demo returning invalid Device ID data when the attached device does not have a
|
* - Fixed PrinterHost demo returning invalid Device ID data when the attached device does not have a
|
||||||
* device ID (thanks to Andrei Krainev)
|
* device ID (thanks to Andrei Krainev)
|
||||||
* - Changed LUFA_VERSION_INTEGER define to use BCD values, to make comparisons eaiser
|
* - Changed LUFA_VERSION_INTEGER define to use BCD values, to make comparisons eaiser
|
||||||
|
* - Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine using the incorrect mode (control/pipe)
|
||||||
|
* to send report to the attached device
|
||||||
*
|
*
|
||||||
* \section Sec_ChangeLog090924 Version 090924
|
* \section Sec_ChangeLog090924 Version 090924
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue