From 7f5445c8c6f0d67c0d5d3d0ed287c26e69d93d45 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 5 May 2013 14:09:26 +0000 Subject: Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt level should be cleared, and not the interrupt level itself. --- LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA/Drivers/USB/Core/XMEGA') 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; } -- cgit v1.2.3