- printf_P(PSTR(" -- In State %d\r\n"), USB_HostState);\r
-}\r
-\r
-/**\r
- * Event handler for the USB_DeviceError event. When fired, the event is logged to the USART and the program\r
- * execution aborted.\r
- */\r
-EVENT_HANDLER(USB_DeviceError)\r
-{\r
- puts_P(PSTR(EVENT_PREFIX ESC_BG_RED "Device Mode Error\r\n"));\r
- printf_P(PSTR(" -- Error Code %d\r\n"), ErrorCode);\r
-\r
- Abort_Program();\r