* passed to all CDC Class driver functions, so that multiple instances of the same class\r
* within a device can be differentiated from one another.\r
*/\r
-USB_ClassInfo_CDC_t VirtualSerial_CDC_Interface;\r
-\r
+USB_ClassInfo_CDC_Host_t VirtualSerial_CDC_Interface =\r
+ {\r
+ .DataINPipeNumber = 1,\r
+ .DataOUTPipeNumber = 2,\r
+ .NotificationPipeNumber = 3,\r
+ };\r
+ \r
/** Main program entry point. This routine configures the hardware required by the application, then\r
* starts the scheduler to run the application tasks.\r
*/\r
\r
for (;;)\r
{\r
+ CDC_Host_USBTask(&VirtualSerial_CDC_Interface);\r
USB_USBTask();\r
}\r
}\r