From: Dean Camera Date: Sun, 5 May 2013 14:09:26 +0000 (+0000) Subject: Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt... X-Git-Tag: LUFA-130901-BETA~112 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/7f5445c8c6f0d67c0d5d3d0ed287c26e69d93d45?ds=sidebyside Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt level should be cleared, and not the interrupt level itself. --- diff --git a/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c b/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c index 51f35a668..b85f301d5 100644 --- a/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c +++ b/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c @@ -36,7 +36,7 @@ void USB_INT_DisableAllInterrupts(void) { - USB.INTCTRLA &= ~USB_INTLVL_gm; + USB.INTCTRLA &= USB_INTLVL_gm; USB.INTCTRLB = 0; }