Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/lufa.git] / Demos / Host / LowLevel / PrinterHost / PrinterHost.c
index eecd064..b5f5a0d 100644 (file)
@@ -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 (;;)
        {