projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Device mode class driver callbacks are now fired before the control request status...
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Device
/
HID.c
diff --git
a/LUFA/Drivers/USB/Class/Device/HID.c
b/LUFA/Drivers/USB/Class/Device/HID.c
index
7ff3249
..
6766509
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Device/HID.c
+++ b/
LUFA/Drivers/USB/Class/Device/HID.c
@@
-79,9
+79,8
@@
void HID_Device_ProcessControlRequest(USB_ClassInfo_HID_Device_t* const HIDInter
uint8_t ReportID = (USB_ControlRequest.wValue & 0xFF);
\r
\r
Endpoint_Read_Control_Stream_LE(ReportOUTData, ReportOUTSize);
\r
uint8_t ReportID = (USB_ControlRequest.wValue & 0xFF);
\r
\r
Endpoint_Read_Control_Stream_LE(ReportOUTData, ReportOUTSize);
\r
- Endpoint_ClearIN();
\r
-
\r
CALLBACK_HID_Device_ProcessHIDReport(HIDInterfaceInfo, ReportID, ReportOUTData, ReportOUTSize);
\r
CALLBACK_HID_Device_ProcessHIDReport(HIDInterfaceInfo, ReportID, ReportOUTData, ReportOUTSize);
\r
+ Endpoint_ClearIN();
\r
}
\r
\r
break;
\r
}
\r
\r
break;
\r