aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/OTG
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-05-03 14:17:24 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-05-03 14:17:24 +0000
commit01c4bef107214d5a4407a654754dc952ddd5cdba (patch)
treec21afc82e156f57618b723269492f3fdae70f778 /Demos/OTG
parent6a8e27f7ee43169b9f6eb928b12e00d6306618ff (diff)
downloadlufa-01c4bef107214d5a4407a654754dc952ddd5cdba.tar.gz
lufa-01c4bef107214d5a4407a654754dc952ddd5cdba.tar.bz2
lufa-01c4bef107214d5a4407a654754dc952ddd5cdba.zip
More minor renaming of library enums and events to try to create a consistent API.
Diffstat (limited to 'Demos/OTG')
-rw-r--r--Demos/OTG/TestApp/TestEvents.c2
-rw-r--r--Demos/OTG/TestApp/TestEvents.h4
2 files changed, 3 insertions, 3 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;
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);