Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/lufa.git] / Demos / Host / ClassDriver / MouseHostWithParser / MouseHostWithParser.c
index 8004b5c..9426aec 100644 (file)
@@ -71,9 +71,9 @@ int main(void)
        SetupHardware();
 
        puts_P(PSTR(ESC_FG_CYAN "Mouse Host Demo running.\r\n" ESC_FG_WHITE));
-       sei();
 
        LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
+       GlobalInterruptEnable();
 
        for (;;)
        {