/* Must throw away unused bytes from the host, or it will lock up while waiting for the device */\r
while (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))\r
CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);\r
/* Must throw away unused bytes from the host, or it will lock up while waiting for the device */\r
while (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))\r
CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);\r
{\r
LEDs_SetAllLEDs(LEDMASK_USB_ENUMERATING);\r
}\r
\r
/** Event handler for the library USB Disconnection event. */\r
{\r
LEDs_SetAllLEDs(LEDMASK_USB_ENUMERATING);\r
}\r
\r
/** Event handler for the library USB Disconnection event. */\r
{\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);\r
}\r
\r
/** Event handler for the library USB Configuration Changed event. */\r
{\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);\r
}\r
\r
/** Event handler for the library USB Configuration Changed event. */\r
-/** Event handler for the library USB Unhandled Control Packet event. */\r
-void EVENT_USB_UnhandledControlPacket(void)\r
+/** Event handler for the library USB Unhandled Control Request event. */\r
+void EVENT_USB_Device_UnhandledControlRequest(void)\r