aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/OTG/TestApp/TestEvents.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/OTG/TestApp/TestEvents.c')
-rw-r--r--Demos/OTG/TestApp/TestEvents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/OTG/TestApp/TestEvents.c b/Demos/OTG/TestApp/TestEvents.c
index 17514774f..b1530128b 100644
--- a/Demos/OTG/TestApp/TestEvents.c
+++ b/Demos/OTG/TestApp/TestEvents.c
@@ -139,7 +139,7 @@ EVENT_HANDLER(USB_UIDChange)
* Event handler for the USB_PowerOnFail event. When fired, the event is logged to the USART and the program
* execution aborted.
*/
-EVENT_HANDLER(USB_PowerOnFail)
+EVENT_HANDLER(USB_InitFailure)
{
char* ModeStrPtr;