Change AVRISP project's timeout to be interrupt based again, but make the interrupt...
[pub/USBasp.git] / Bootloaders / TeensyHID / TeensyHID.c
index 2317ea4..5431a57 100644 (file)
@@ -49,6 +49,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
          USB_USBTask();\r
        \r