/* Setup hardware required for the bootloader */\r
SetupHardware();\r
\r
+ /* Enable global interrupts so that the USB stack can function */\r
+ sei();\r
+\r
while (RunBootloader)\r
USB_USBTask();\r
\r
MCUSR &= ~(1 << WDRF);\r
wdt_disable();\r
\r
- /* Disable clock division */\r
- clock_prescale_set(clock_div_1);\r
-\r
/* Relocate the interrupt vector table to the bootloader section */\r
MCUCR = (1 << IVCE);\r
MCUCR = (1 << IVSEL);\r