Minor documentation improvements. Remove AS4 project generator script as it is buggy...
[pub/USBasp.git] / Demos / Host / LowLevel / PrinterHost / PrinterHost.c
index 98cb756..b5f5a0d 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 /*
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -43,10 +43,10 @@ int main(void)
 {
        SetupHardware();
 
-       LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-
        puts_P(PSTR(ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE));
-       sei();
+
+       LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
+       GlobalInterruptEnable();
 
        for (;;)
        {