diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-06 20:30:26 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-06 20:30:26 +0000 |
commit | 1190652c0b210fe24320f8da9bfd5a0e169111d8 (patch) | |
tree | e05f2760a9ed5555eb5195614f4c3ef4ea7e59a7 /Bootloaders/DFU | |
parent | 0486f12e3eab71e75273b774bb13eeb5937c544d (diff) | |
download | lufa-1190652c0b210fe24320f8da9bfd5a0e169111d8.tar.gz lufa-1190652c0b210fe24320f8da9bfd5a0e169111d8.tar.bz2 lufa-1190652c0b210fe24320f8da9bfd5a0e169111d8.zip |
Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 9 | ||||
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index fb326a1d9..d7af1e6ca 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -141,15 +141,6 @@ void ResetHardware(void) 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
* 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.
diff --git a/Bootloaders/DFU/BootloaderDFU.h b/Bootloaders/DFU/BootloaderDFU.h index 11d91db79..a4eb235d6 100644 --- a/Bootloaders/DFU/BootloaderDFU.h +++ b/Bootloaders/DFU/BootloaderDFU.h @@ -191,7 +191,6 @@ void SetupHardware(void);
void ResetHardware(void);
- void EVENT_USB_Device_Disconnect(void);
void EVENT_USB_Device_UnhandledControlRequest(void);
#if defined(INCLUDE_FROM_BOOTLOADER_C)
|