diff options
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)
|