Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/lufa.git] / Projects / AVRISP-MKII / AVRISP-MKII.c
index c4623fd..9e1337a 100644 (file)
@@ -45,7 +45,7 @@ int main(void)
        V2Protocol_Init();
 
        LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
        V2Protocol_Init();
 
        LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-       sei();
+       GlobalInterruptEnable();
 
        for (;;)
        {
 
        for (;;)
        {