Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.
This commit is contained in:
parent
82fa9149d7
commit
c879887dce
3 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue