Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs.
[pub/USBasp.git] / Bootloaders / CDC / BootloaderCDC.c
index f925956..d1f595c 100644 (file)
@@ -116,15 +116,6 @@ void ResetHardware(void)
        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