diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-05 14:09:26 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-05-05 14:09:26 +0000 |
commit | 7f5445c8c6f0d67c0d5d3d0ed287c26e69d93d45 (patch) | |
tree | a2d57675c32e08cb069b72cb89f4dce35fc0dbc4 /LUFA/Drivers/USB | |
parent | 7464e40a4ba3470c12001069bbe5f31db209dc4d (diff) | |
download | lufa-7f5445c8c6f0d67c0d5d3d0ed287c26e69d93d45.tar.gz lufa-7f5445c8c6f0d67c0d5d3d0ed287c26e69d93d45.tar.bz2 lufa-7f5445c8c6f0d67c0d5d3d0ed287c26e69d93d45.zip |
Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt level should be cleared, and not the interrupt level itself.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |