Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/lufa.git] / Projects / USBtoSerial / USBtoSerial.c
index a0b8de4..fb9ac87 100644 (file)
@@ -90,7 +90,7 @@ int main(void)
        RingBuffer_InitBuffer(&USARTtoUSB_Buffer, USARTtoUSB_Buffer_Data, sizeof(USARTtoUSB_Buffer_Data));
 
        LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-       sei();
+       GlobalInterruptEnable();
 
        for (;;)
        {