Moved USB Host state machine code out from USBTask.c and into Host.c, where it more...
[pub/USBasp.git] / Demos / OTG / TestApp / TestEvents.c
index b153012..b542bfc 100644 (file)
@@ -31,7 +31,7 @@
 /** \file\r
  *\r
  *  This file contains dummy handlers for all the possible USB events passed to the\r
- *  application by the library (see Events.h documentation for more details on USB events).\r
+ *  application by the library (see \ref Group_Events documentation for more details on USB events).\r
  *\r
  *  Each event is caught and printed to the USART so that they may be monitored.\r
  */\r
@@ -175,6 +175,8 @@ EVENT_HANDLER(USB_DeviceEnumerationFailed)
 {\r
        puts_P(PSTR(ESC_BG_RED "Dev Enum Error\r\n"));\r
        printf_P(PSTR(" -- Error Code %d\r\n"), ErrorCode);\r
+       printf_P(PSTR(" -- Sub Error Code %d\r\n"), SubErrorCode);\r
+       printf_P(PSTR(" -- In State %d\r\n"), USB_HostState);\r
 }\r
 \r
 /**\r