Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/lufa.git] / Demos / Host / ClassDriver / JoystickHostWithParser / JoystickHostWithParser.c
index 18c02d7..a59364d 100644 (file)
@@ -73,7 +73,7 @@ int main(void)
        puts_P(PSTR(ESC_FG_CYAN "Joystick Host Demo running.\r\n" ESC_FG_WHITE));
 
        LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-       sei();
+       GlobalInterruptEnable();
 
        for (;;)
        {