X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/619b0b7b6b44e4422ea9aeb0cde41343bb5dda70..37b2130fb2767a39f3d95414c6aca75a67c26298:/Demos/Host/KeyboardHostWithParser/HIDReport.c diff --git a/Demos/Host/KeyboardHostWithParser/HIDReport.c b/Demos/Host/KeyboardHostWithParser/HIDReport.c index b985a45fe..14b803840 100644 --- a/Demos/Host/KeyboardHostWithParser/HIDReport.c +++ b/Demos/Host/KeyboardHostWithParser/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 */