Use the PDI REPEAT instruction in the PDI programmer code to reduce protocol overhead...
[pub/USBasp.git] / Bootloaders / TeensyHID / TeensyHID.h
index 484fb6b..a05729a 100644 (file)
@@ -50,7 +50,7 @@
                #include <LUFA/Drivers/USB/USB.h>\r
                \r
        /* Preprocessor Checks: */\r
-               #if !defined(__AVR_AT90USB162__)\r
+               #if !defined(__AVR_AT90USB162__) && !defined(__AVR_AT90USB646__)\r
                        #error This bootloader is not compatible with the selected AVR model.\r
                #endif\r
 \r
@@ -64,7 +64,7 @@
        /* Function Prototypes: */\r
                void SetupHardware(void);\r
 \r
-               void EVENT_USB_ConfigurationChanged(void);\r
-               void EVENT_USB_UnhandledControlPacket(void);\r
+               void EVENT_USB_Device_ConfigurationChanged(void);\r
+               void EVENT_USB_Device_UnhandledControlRequest(void);\r
                \r
 #endif\r