Changed over all deprecated GCC structure tag initializers to the standardized C99...
[pub/lufa.git] / Demos / Host / MouseHostWithParser / HIDReport.c
index 176f18c..68d6580 100644 (file)
@@ -49,11 +49,11 @@ uint8_t GetHIDReportData(void)
        \r
        USB_HostRequest = (USB_Host_Request_Header_t)\r
                {\r
-                       bmRequestType: (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_INTERFACE),\r
-                       bRequest:      REQ_GetDescriptor,\r
-                       wValue:        (DTYPE_Report << 8),\r
-                       wIndex:        0,\r
-                       wLength:       HIDReportSize,\r
+                       .bmRequestType = (REQDIR_DEVICETOHOST | REQTYPE_STANDARD | REQREC_INTERFACE),\r
+                       .bRequest      = REQ_GetDescriptor,\r
+                       .wValue        = (DTYPE_Report << 8),\r
+                       .wIndex        = 0,\r
+                       .wLength       = HIDReportSize,\r
                };\r
 \r
        /* Select the control pipe for the request transfer */\r