aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
diff options
context:
space:
mode:
Diffstat (limited to 'Demos')
-rw-r--r--Demos/Device/LowLevel/GenericHID/GenericHID.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/GenericHID/GenericHID.c b/Demos/Device/LowLevel/GenericHID/GenericHID.c
index ff3249df3..f6dcd78bd 100644
--- a/Demos/Device/LowLevel/GenericHID/GenericHID.c
+++ b/Demos/Device/LowLevel/GenericHID/GenericHID.c
@@ -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);
}