Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.

This commit is contained in:
Dean Camera 2010-11-29 03:01:31 +00:00
parent 82fa9149d7
commit c879887dce
3 changed files with 4 additions and 3 deletions

View file

@ -139,7 +139,7 @@ void EVENT_USB_Device_ControlRequest(void)
/* Read the report data from the control endpoint */
Endpoint_Read_Control_Stream_LE(&GenericData, sizeof(GenericData));
Endpoint_ClearOUT();
Endpoint_ClearIN();
ProcessGenericHIDReport(GenericData);
}