Fixed bug in RNDISEthernet and DualCDC demos not using the correct USB_ControlRequest...
[pub/USBasp.git] / Demos / OTG / TestApp / TestEvents.h
index 6ba06ae..a1f149f 100644 (file)
@@ -42,7 +42,7 @@
                #include <LUFA/Common/Common.h>                          // Commonly used macros\r
                #include <LUFA/Drivers/USB/USB.h>                        // USB Functionality\r
                #include <LUFA/Drivers/Board/LEDs.h>                     // LED driver\r
                #include <LUFA/Common/Common.h>                          // Commonly used macros\r
                #include <LUFA/Drivers/USB/USB.h>                        // USB Functionality\r
                #include <LUFA/Drivers/Board/LEDs.h>                     // LED driver\r
-               #include <LUFA/Drivers/AT90USBXXX/Serial_Stream.h>       // USART Stream driver\r
+               #include <LUFA/Drivers/Peripheral/SerialStream.h>        // USART Stream driver\r
                #include <LUFA/Drivers/Misc/TerminalCodes.h>             // ANSI Terminal Escape Codes\r
                #include <LUFA/Scheduler/Scheduler.h>                    // Simple scheduler for task management\r
 \r
                #include <LUFA/Drivers/Misc/TerminalCodes.h>             // ANSI Terminal Escape Codes\r
                #include <LUFA/Scheduler/Scheduler.h>                    // Simple scheduler for task management\r
 \r
@@ -74,8 +74,8 @@
                /** Indicates that this module will catch the USB_UIDChange event when thrown by the library. */\r
                HANDLES_EVENT(USB_UIDChange);\r
 \r
                /** Indicates that this module will catch the USB_UIDChange event when thrown by the library. */\r
                HANDLES_EVENT(USB_UIDChange);\r
 \r
-               /** Indicates that this module will catch the USB_PowerOnFail event when thrown by the library. */\r
-               HANDLES_EVENT(USB_PowerOnFail);\r
+               /** Indicates that this module will catch the USB_InitFailure event when thrown by the library. */\r
+               HANDLES_EVENT(USB_InitFailure);\r
 \r
                /** Indicates that this module will catch the USB_HostError event when thrown by the library. */\r
                HANDLES_EVENT(USB_HostError);\r
 \r
                /** Indicates that this module will catch the USB_HostError event when thrown by the library. */\r
                HANDLES_EVENT(USB_HostError);\r