aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/KeyboardHostWithParser/HIDReport.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-20 11:21:36 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-20 11:21:36 +0000
commit37b2130fb2767a39f3d95414c6aca75a67c26298 (patch)
tree0288d41e710e3142696765cb76288357439c296b /Demos/Host/KeyboardHostWithParser/HIDReport.c
parent619b0b7b6b44e4422ea9aeb0cde41343bb5dda70 (diff)
downloadlufa-37b2130fb2767a39f3d95414c6aca75a67c26298.tar.gz
lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.tar.bz2
lufa-37b2130fb2767a39f3d95414c6aca75a67c26298.zip
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
Diffstat (limited to 'Demos/Host/KeyboardHostWithParser/HIDReport.c')
-rw-r--r--Demos/Host/KeyboardHostWithParser/HIDReport.c10
1 files changed, 5 insertions, 5 deletions
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 */