Fix incorrect Interrupt disable function for the XMEGA architecture (thanks to Simon...
[pub/lufa.git] / LUFA / Drivers / USB / Core / XMEGA / USBInterrupt_XMEGA.c
index b85f301..51f35a6 100644 (file)
@@ -36,7 +36,7 @@
 
 void USB_INT_DisableAllInterrupts(void)
 {
-       USB.INTCTRLA    &= USB_INTLVL_gm;
+       USB.INTCTRLA    &= ~USB_INTLVL_gm;
        USB.INTCTRLB     = 0;
 }