diff options
Diffstat (limited to 'Demos/Host/MouseHostWithParser/HIDReport.c')
-rw-r--r-- | Demos/Host/MouseHostWithParser/HIDReport.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Host/MouseHostWithParser/HIDReport.c b/Demos/Host/MouseHostWithParser/HIDReport.c index 176f18cf6..68d6580f4 100644 --- a/Demos/Host/MouseHostWithParser/HIDReport.c +++ b/Demos/Host/MouseHostWithParser/HIDReport.c @@ -49,11 +49,11 @@ uint8_t GetHIDReportData(void) USB_HostRequest = (USB_Host_Request_Header_t)
{
- bmRequestType: (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_INTERFACE),
- bRequest: REQ_GetDescriptor,
- wValue: (DTYPE_Report << 8),
- wIndex: 0,
- wLength: HIDReportSize,
+ .bmRequestType = (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_INTERFACE),
+ .bRequest = REQ_GetDescriptor,
+ .wValue = (DTYPE_Report << 8),
+ .wIndex = 0,
+ .wLength = HIDReportSize,
};
/* Select the control pipe for the request transfer */
|