From 01c4bef107214d5a4407a654754dc952ddd5cdba Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 3 May 2009 14:17:24 +0000 Subject: More minor renaming of library enums and events to try to create a consistent API. --- Demos/OTG/TestApp/TestEvents.c | 2 +- Demos/OTG/TestApp/TestEvents.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Demos/OTG') 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; diff --git a/Demos/OTG/TestApp/TestEvents.h b/Demos/OTG/TestApp/TestEvents.h index b5a83ed8f..a1f149f47 100644 --- a/Demos/OTG/TestApp/TestEvents.h +++ b/Demos/OTG/TestApp/TestEvents.h @@ -74,8 +74,8 @@ /** Indicates that this module will catch the USB_UIDChange event when thrown by the library. */ HANDLES_EVENT(USB_UIDChange); - /** Indicates that this module will catch the USB_PowerOnFail event when thrown by the library. */ - HANDLES_EVENT(USB_PowerOnFail); + /** Indicates that this module will catch the USB_InitFailure event when thrown by the library. */ + HANDLES_EVENT(USB_InitFailure); /** Indicates that this module will catch the USB_HostError event when thrown by the library. */ HANDLES_EVENT(USB_HostError); -- cgit v1.2.3