diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-30 07:58:17 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-30 07:58:17 +0000 |
commit | baa1b22654830d78c1edb6ab35f35ceee089f6e5 (patch) | |
tree | a8414460c4839e4743fb548addcdb92d3e21f452 /LUFA/Drivers/USB | |
parent | 89c837ee34db186f7b1f859f767d587036573c4c (diff) | |
download | lufa-baa1b22654830d78c1edb6ab35f35ceee089f6e5.tar.gz lufa-baa1b22654830d78c1edb6ab35f35ceee089f6e5.tar.bz2 lufa-baa1b22654830d78c1edb6ab35f35ceee089f6e5.zip |
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.
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 a8e761d66..d94c2db4a 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.c +++ b/LUFA/Drivers/USB/Class/Host/HID.c @@ -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))
return false;
- if (HIDInterfaceInfo->State.DeviceUsesOUTPipe)
+ if (!(HIDInterfaceInfo->State.DeviceUsesOUTPipe))
{
USB_ControlRequest = (USB_Request_Header_t)
{
|