boot_rww_enable();\r
}\r
\r
-/** Event handler for the USB_Disconnect event. This indicates that the bootloader should exit and the user\r
- * application started.\r
- */\r
-void EVENT_USB_Device_Disconnect(void)\r
-{\r
- /* Upon disconnection, run user application */\r
- RunBootloader = false;\r
-}\r
-\r
/** Event handler for the USB_ConfigurationChanged event. This configures the device's endpoints ready\r
* to relay data to and from the attached USB host.\r
*/\r
void SetupHardware(void);\r
void ResetHardware(void);\r
\r
- void EVENT_USB_Device_Disconnect(void);\r
void EVENT_USB_Device_ConfigurationChanged(void);\r
void EVENT_USB_Device_UnhandledControlRequest(void);\r
\r
MCUCR = 0;\r
}\r
\r
-/** Event handler for the USB_Disconnect event. This indicates that the bootloader should exit and the user\r
- * application started.\r
- */\r
-void EVENT_USB_Device_Disconnect(void)\r
-{\r
- /* Upon disconnection, run user application */\r
- RunBootloader = false;\r
-}\r
-\r
/** Event handler for the USB_UnhandledControlRequest event. This is used to catch standard and class specific\r
* control requests that are not handled internally by the USB library (including the DFU commands, which are\r
* all issued via the control endpoint), so that they can be handled appropriately for the application.\r
void SetupHardware(void);\r
void ResetHardware(void);\r
\r
- void EVENT_USB_Device_Disconnect(void);\r
void EVENT_USB_Device_UnhandledControlRequest(void);\r
\r
#if defined(INCLUDE_FROM_BOOTLOADER_C)\r
* - CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker)\r
* - Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.)\r
* - Fix allowable F_CPU values comment in project makefiles\r
+ * - Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs\r
*\r
*\r
* \section Sec_ChangeLog090810 Version 090810\r