Fixed Mass Storage Host Class driver and Low Level demo not clearing the error condit...
[pub/USBasp.git] / Demos / Device / ClassDriver / CDC / CDC.h
index 23072d6..9cc7248 100644 (file)
@@ -41,6 +41,7 @@
                #include <avr/wdt.h>\r
                #include <avr/power.h>\r
                #include <string.h>\r
+               #include <stdio.h>\r
 \r
                #include "Descriptors.h"\r
 \r
@@ -48,7 +49,7 @@
                #include <LUFA/Drivers/Board/LEDs.h>\r
                #include <LUFA/Drivers/Board/Joystick.h>\r
                #include <LUFA/Drivers/USB/USB.h>\r
-               #include <LUFA/Drivers/USB/Class/Device/CDC.h>\r
+               #include <LUFA/Drivers/USB/Class/CDC.h>\r
 \r
        /* Macros: */\r
                /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */\r
@@ -67,9 +68,9 @@
                void SetupHardware(void);\r
                void CheckJoystickMovement(void);\r
 \r
-               void EVENT_USB_Connect(void);\r
-               void EVENT_USB_Disconnect(void);\r
-               void EVENT_USB_ConfigurationChanged(void);\r
-               void EVENT_USB_UnhandledControlPacket(void);\r
+               void EVENT_USB_Device_Connect(void);\r
+               void EVENT_USB_Device_Disconnect(void);\r
+               void EVENT_USB_Device_ConfigurationChanged(void);\r
+               void EVENT_USB_Device_UnhandledControlRequest(void);\r
 \r
 #endif\r