More minor renaming of library enums and events to try to create a consistent API.

This commit is contained in:
Dean Camera 2009-05-03 14:17:24 +00:00
parent 6a8e27f7ee
commit 01c4bef107
11 changed files with 79 additions and 66 deletions

View file

@ -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;

View file

@ -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);