Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the...
[pub/lufa.git] / Bootloaders / CDC / BootloaderCDC.c
index ac7203a..83fd0ee 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
              LUFA Library\r
 /*\r
              LUFA Library\r
-     Copyright (C) Dean Camera, 2009.\r
+     Copyright (C) Dean Camera, 2010.\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
               \r
   dean [at] fourwalledcubicle [dot] com\r
       www.fourwalledcubicle.com\r
 */\r
 \r
 /*\r
-  Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
   software and its documentation for any purpose is hereby granted\r
@@ -69,6 +69,9 @@ int main(void)
        /* Setup hardware required for the bootloader */\r
        SetupHardware();\r
 \r
        /* 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
        while (RunBootloader)\r
        {\r
                CDC_Task();\r