X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/01c4bef107214d5a4407a654754dc952ddd5cdba..4904b10ef689a11b420c0a32da747533f4378712:/Demos/OTG/TestApp/TestEvents.c diff --git a/Demos/OTG/TestApp/TestEvents.c b/Demos/OTG/TestApp/TestEvents.c index b1530128b..b542bfc24 100644 --- a/Demos/OTG/TestApp/TestEvents.c +++ b/Demos/OTG/TestApp/TestEvents.c @@ -31,7 +31,7 @@ /** \file * * This file contains dummy handlers for all the possible USB events passed to the - * application by the library (see Events.h documentation for more details on USB events). + * application by the library (see \ref Group_Events documentation for more details on USB events). * * Each event is caught and printed to the USART so that they may be monitored. */ @@ -175,6 +175,8 @@ EVENT_HANDLER(USB_DeviceEnumerationFailed) { puts_P(PSTR(ESC_BG_RED "Dev Enum Error\r\n")); printf_P(PSTR(" -- Error Code %d\r\n"), ErrorCode); + printf_P(PSTR(" -- Sub Error Code %d\r\n"), SubErrorCode); + printf_P(PSTR(" -- In State %d\r\n"), USB_HostState); } /**