USB_Init() no longer calls sei() to enable global interrupts - this must now be done...
[pub/USBasp.git] / Bootloaders / CDC / BootloaderCDC.c
index 482859b..83fd0ee 100644 (file)
@@ -69,6 +69,9 @@ int main(void)
        /* 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
        {\r
                CDC_Task();\r