HIDInterfaceInfo->State.IdleMSRemaining = HIDInterfaceInfo->State.IdleCount;\r
\r
if (ReportID)\r
- Endpoint_Write_Stream_LE(&ReportID, sizeof(ReportID), NO_STREAM_CALLBACK);\r
+ Endpoint_Write_Byte(ReportID);\r
\r
Endpoint_Write_Stream_LE(ReportINData, ReportINSize, NO_STREAM_CALLBACK);\r
+ \r
+ Endpoint_ClearIN();\r
}\r
- \r
- Endpoint_ClearIN();\r
}\r
}\r
\r
* - Fixed invalid data being returned when a GetStatus request is issued in Device mode with an unhandled data recipient\r
* - Added hardware USART receive interrupt and software buffering to the Benito project to ensure received data is not\r
* missed or corrupted\r
+ * - Fixed Device mode HID Class driver always sending IN packets, even when nothing to report\r
*\r
*\r
* \section Sec_ChangeLog090810 Version 090810\r