Fixed Low Speed USB devices broken when using the library HID Class driver (thanks to Michael).

pull/1469/head
Dean Camera 12 years ago
parent 141f24b4a1
commit 31d3984d8d

@ -17,6 +17,8 @@
* - Updated the BUILD build system module to produce binary BIN files in addition to Intel HEX files
*
* <b>Fixed:</b>
* - Core:
* - Fixed Low Speed USB devices broken when using the library HID Class driver (thanks to Michael)
* - Library Applications:
* - Added handler for SCSI_CMD_START_STOP_UNIT in demos using the Mass Storage class, to prevent ejection errors on *nix systems due to an
* unknown SCSI command

@ -155,7 +155,14 @@ void HID_Device_USBTask(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo)
return;
if (HIDInterfaceInfo->State.PrevFrameNum == USB_Device_GetFrameNumber())
{
#if defined(USB_DEVICE_OPT_LOWSPEED)
if (!(USB_Options & USB_DEVICE_OPT_LOWSPEED))
return;
#else
return;
#endif
}
Endpoint_SelectEndpoint(HIDInterfaceInfo->Config.ReportINEndpoint.Address);

Loading…
Cancel
Save