aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-11-29 03:01:31 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-11-29 03:01:31 +0000
commitc879887dce0506c6ae25490ed7d42a7c7eec7337 (patch)
tree37e196dc4b806ebbe9e8f24fab1c649af0591f0b /Demos/Device
parent82fa9149d705b70fc6d0e53e3d164fe138ce9a8b (diff)
downloadlufa-c879887dce0506c6ae25490ed7d42a7c7eec7337.tar.gz
lufa-c879887dce0506c6ae25490ed7d42a7c7eec7337.tar.bz2
lufa-c879887dce0506c6ae25490ed7d42a7c7eec7337.zip
Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.
Diffstat (limited to 'Demos/Device')
-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);
}