diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-04-20 11:21:36 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-04-20 11:21:36 +0000 |
| commit | f05c19a8eaea1a4df179cfc3ee967280cf0ae309 (patch) | |
| tree | 0288d41e710e3142696765cb76288357439c296b /Demos/Host/MouseHostWithParser/MouseHostWithParser.c | |
| parent | 545bce765dfa0095133156ac42a882cb13ec944d (diff) | |
Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@517 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/MouseHostWithParser/MouseHostWithParser.c')
| -rw-r--r-- | Demos/Host/MouseHostWithParser/MouseHostWithParser.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Demos/Host/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/MouseHostWithParser/MouseHostWithParser.c index 44c68eea..df063dab 100644 --- a/Demos/Host/MouseHostWithParser/MouseHostWithParser.c +++ b/Demos/Host/MouseHostWithParser/MouseHostWithParser.c @@ -39,8 +39,8 @@ /* Scheduler Task List */
TASK_LIST
{
- { Task: USB_USBTask , TaskStatus: TASK_STOP },
- { Task: USB_Mouse_Host , TaskStatus: TASK_STOP },
+ { .Task = USB_USBTask , .TaskStatus = TASK_STOP },
+ { .Task = USB_Mouse_Host , .TaskStatus = TASK_STOP },
};
@@ -187,11 +187,11 @@ TASK(USB_Mouse_Host) /* Standard request to set the device configuration to configuration 1 */
USB_HostRequest = (USB_Host_Request_Header_t)
{
- bmRequestType: (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_DEVICE),
- bRequest: REQ_SetConfiguration,
- wValue: 1,
- wIndex: 0,
- wLength: 0,
+ .bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_DEVICE),
+ .bRequest = REQ_SetConfiguration,
+ .wValue = 1,
+ .wIndex = 0,
+ .wLength = 0,
};
/* Select the control pipe for the request transfer */
|
