@ -48,7 +48,7 @@ void HID_Device_ProcessControlRequest(USB_ClassInfo_HID_Device_t* const HIDInter
{
{
Endpoint_ClearSETUP ( ) ;
Endpoint_ClearSETUP ( ) ;
uint16_t ReportINSize ;
uint16_t ReportINSize = 0 ;
uint8_t ReportID = ( USB_ControlRequest . wValue & 0xFF ) ;
uint8_t ReportID = ( USB_ControlRequest . wValue & 0xFF ) ;
memset ( HIDInterfaceInfo - > Config . PrevReportINBuffer , 0 , HIDInterfaceInfo - > Config . PrevReportINBufferSize ) ;
memset ( HIDInterfaceInfo - > Config . PrevReportINBuffer , 0 , HIDInterfaceInfo - > Config . PrevReportINBufferSize ) ;
@ -152,7 +152,7 @@ void HID_Device_USBTask(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo)
{
{
uint8_t ReportINData [ HIDInterfaceInfo - > Config . PrevReportINBufferSize ] ;
uint8_t ReportINData [ HIDInterfaceInfo - > Config . PrevReportINBufferSize ] ;
uint8_t ReportID = 0 ;
uint8_t ReportID = 0 ;
uint16_t ReportINSize ;
uint16_t ReportINSize = 0 ;
memset ( ReportINData , 0 , sizeof ( ReportINData ) ) ;
memset ( ReportINData , 0 , sizeof ( ReportINData ) ) ;