|
|
@ -194,6 +194,10 @@ static void ResetHardware(void) |
|
|
|
USB_Disable(); |
|
|
|
USB_Disable(); |
|
|
|
LEDs_Disable(); |
|
|
|
LEDs_Disable(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Disable Bootloader active LED toggle timer */ |
|
|
|
|
|
|
|
TIMSK1 = 0; |
|
|
|
|
|
|
|
TCCR1B = 0; |
|
|
|
|
|
|
|
|
|
|
|
/* Relocate the interrupt vector table back to the application section */ |
|
|
|
/* Relocate the interrupt vector table back to the application section */ |
|
|
|
MCUCR = (1 << IVCE); |
|
|
|
MCUCR = (1 << IVCE); |
|
|
|
MCUCR = 0; |
|
|
|
MCUCR = 0; |
|
|
|