Commit 1190652c authored by Dean Camera's avatar Dean Camera
Browse files

Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.

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