Fixed DFU class bootloader not resetting the LED pins as high impedance inputs when...
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 29 Jan 2012 14:37:30 +0000 (14:37 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 29 Jan 2012 14:37:30 +0000 (14:37 +0000)
Bootloaders/CDC/BootloaderCDC.c
Bootloaders/DFU/BootloaderDFU.c
LUFA/DoxygenPages/ChangeLog.txt

index c8ade7d..f4a2d6c 100644 (file)
@@ -101,7 +101,7 @@ static void SetupHardware(void)
        MCUCR = (1 << IVCE);
        MCUCR = (1 << IVSEL);
 
        MCUCR = (1 << IVCE);
        MCUCR = (1 << IVSEL);
 
-       /* Initialize USB Subsystem */
+       /* Initialize the USB and other board hardware drivers */
        USB_Init();
        LEDs_Init();
 
        USB_Init();
        LEDs_Init();
 
index ba04585..f3b36db 100644 (file)
@@ -150,7 +150,7 @@ static void SetupHardware(void)
        MCUCR = (1 << IVCE);
        MCUCR = (1 << IVSEL);
 
        MCUCR = (1 << IVCE);
        MCUCR = (1 << IVSEL);
 
-       /* Initialize the USB subsystem */
+       /* Initialize the USB and other board hardware drivers */
        USB_Init();
        LEDs_Init();
 
        USB_Init();
        LEDs_Init();
 
@@ -162,8 +162,9 @@ static void SetupHardware(void)
 /** Resets all configured hardware required for the bootloader back to their original states. */
 static void ResetHardware(void)
 {
 /** Resets all configured hardware required for the bootloader back to their original states. */
 static void ResetHardware(void)
 {
-       /* Shut down the USB subsystem */
+       /* Shut down the USB and other board hardware drivers */
        USB_Disable();
        USB_Disable();
+       LEDs_Disable();
 
        /* Relocate the interrupt vector table back to the application section */
        MCUCR = (1 << IVCE);
 
        /* Relocate the interrupt vector table back to the application section */
        MCUCR = (1 << IVCE);
index 79a9aad..752fa4d 100644 (file)
@@ -48,6 +48,7 @@
   *   - Added reliability patches to the AVRISP-MKII Clone project's PDI/TPI protocols (thanks to Justin Mattair)
   *   - Fixed AVRISP-MKII Clone compile warning on AVR8 U4 targets even when NO_VTARGET_DETECT is enabled
   *   - Fixed AVRISP-MKII Clone failing to start application firmware once a TPI programming session is exited
   *   - Added reliability patches to the AVRISP-MKII Clone project's PDI/TPI protocols (thanks to Justin Mattair)
   *   - Fixed AVRISP-MKII Clone compile warning on AVR8 U4 targets even when NO_VTARGET_DETECT is enabled
   *   - Fixed AVRISP-MKII Clone failing to start application firmware once a TPI programming session is exited
+  *   - Fixed DFU class bootloader not resetting the LED pins as high impedance inputs when a software jump to the user applications is requested
   *
   *  \section Sec_ChangeLog111009 Version 111009
   *  <b>New:</b>
   *
   *  \section Sec_ChangeLog111009 Version 111009
   *  <b>New:</b>