USB_Init() no longer calls sei() to enable global interrupts - this must now be done...
[pub/USBasp.git] / Bootloaders / DFU / BootloaderDFU.c
index 157b78f..d90accb 100644 (file)
@@ -101,6 +101,9 @@ int main(void)
 {\r
        /* Configure hardware required by the bootloader */\r
        SetupHardware();\r
+       \r
+       /* Enable global interrupts so that the USB stack can function */\r
+       sei();\r
 \r
        /* Run the USB management task while the bootloader is supposed to be running */\r
        while (RunBootloader || WaitForExit)\r