aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/RNDISEthernet/RNDISEthernet.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/RNDISEthernet/RNDISEthernet.c')
-rw-r--r--Demos/Device/RNDISEthernet/RNDISEthernet.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/Demos/Device/RNDISEthernet/RNDISEthernet.c b/Demos/Device/RNDISEthernet/RNDISEthernet.c
index 5e14bb76a..d77cc457b 100644
--- a/Demos/Device/RNDISEthernet/RNDISEthernet.c
+++ b/Demos/Device/RNDISEthernet/RNDISEthernet.c
@@ -39,10 +39,10 @@
/* Scheduler Task List */
TASK_LIST
{
- { Task: USB_USBTask , TaskStatus: TASK_STOP },
- { Task: Ethernet_Task , TaskStatus: TASK_STOP },
- { Task: TCP_Task , TaskStatus: TASK_STOP },
- { Task: RNDIS_Task , TaskStatus: TASK_STOP },
+ { .Task = USB_USBTask , .TaskStatus = TASK_STOP },
+ { .Task = Ethernet_Task , .TaskStatus = TASK_STOP },
+ { .Task = TCP_Task , .TaskStatus = TASK_STOP },
+ { .Task = RNDIS_Task , .TaskStatus = TASK_STOP },
};
/** Main program entry point. This routine configures the hardware required by the application, then
@@ -245,11 +245,11 @@ TASK(RNDIS_Task)
{
USB_Notification_t Notification = (USB_Notification_t)
{
- bmRequestType: (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE),
- bNotification: NOTIF_RESPONSE_AVAILABLE,
- wValue: 0,
- wIndex: 0,
- wLength: 0,
+ .bmRequestType = (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE),
+ .bNotification = NOTIF_RESPONSE_AVAILABLE,
+ .wValue = 0,
+ .wIndex = 0,
+ .wLength = 0,
};
/* Indicate that a message response is ready for the host */