X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8f6b4ddf764c3a54e42d00a7502c82c5c3e71b1c..ba7cd3f22e0ec8c2fc7fd5dae3620aa75d926fd3:/Demos/Device/RNDISEthernet/RNDISEthernet.c?ds=inline 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 */