diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-04 10:10:41 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-04 10:10:41 +0000 |
commit | e652cfac67ace9c307612cd2e1df70142358c673 (patch) | |
tree | c582cbb8ba5f5c17c7dfd4d36bba8b3abd679e48 /LUFA/Drivers/USB | |
parent | 27f0ba6fc30db478fbab0b952bf2c3137f5a7719 (diff) | |
download | lufa-e652cfac67ace9c307612cd2e1df70142358c673.tar.gz lufa-e652cfac67ace9c307612cd2e1df70142358c673.tar.bz2 lufa-e652cfac67ace9c307612cd2e1df70142358c673.zip |
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.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HID.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/HID.c b/LUFA/Drivers/USB/Class/Host/HID.c index 5d5d2ef98..24dcceb4d 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.c +++ b/LUFA/Drivers/USB/Class/Host/HID.c @@ -249,7 +249,7 @@ uint8_t HID_Host_SendReportByID(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo #if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
.wValue = ((REPORT_ITEM_TYPE_Out + 1) << 8) | ReportID,
#else
- .wValue = 0,
+ .wValue = ((REPORT_ITEM_TYPE_Out + 1) << 8),
#endif
.wIndex = HIDInterfaceInfo->State.InterfaceNumber,
.wLength = ReportSize,
|