diff options
Diffstat (limited to 'Demos/Host/MassStorageHost/MassStorageHost.c')
-rw-r--r-- | Demos/Host/MassStorageHost/MassStorageHost.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Demos/Host/MassStorageHost/MassStorageHost.c b/Demos/Host/MassStorageHost/MassStorageHost.c index 1c56e6eed..9352562de 100644 --- a/Demos/Host/MassStorageHost/MassStorageHost.c +++ b/Demos/Host/MassStorageHost/MassStorageHost.c @@ -39,8 +39,8 @@ /* Scheduler Task List */
TASK_LIST
{
- { Task: USB_USBTask , TaskStatus: TASK_STOP },
- { Task: USB_MassStore_Host , TaskStatus: TASK_STOP },
+ { .Task = USB_USBTask , .TaskStatus = TASK_STOP },
+ { .Task = USB_MassStore_Host , .TaskStatus = TASK_STOP },
};
/* Globals */
@@ -157,11 +157,11 @@ TASK(USB_MassStore_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 */
|