Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/USBasp.git] / Demos / Device / ClassDriver / Joystick / Joystick.c
index 4f361da..f9a0c24 100644 (file)
@@ -68,7 +68,7 @@ int main(void)
        SetupHardware();
 
        LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-       sei();
+       GlobalInterruptEnable();
 
        for (;;)
        {