{\r
Endpoint_ClearSETUP();\r
\r
- HIDInterfaceInfo->State.UsingReportProtocol = (USB_ControlRequest.wValue != 0x0000);\r
+ HIDInterfaceInfo->State.UsingReportProtocol = ((USB_ControlRequest.wValue & 0xFF) != 0x00);\r
\r
Endpoint_ClearStatusStage();\r
}\r