aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/XMEGA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-03-23 21:53:56 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-03-23 21:53:56 +0000
commit654217548b03d25be1a9b2a4097158360668bb89 (patch)
treef24091c76cb2b9f78e6e4ab2df487a010b064387 /LUFA/Drivers/USB/Core/XMEGA
parent31d3984d8d8afeed7b1e064428b01e42fe27f2f9 (diff)
downloadlufa-654217548b03d25be1a9b2a4097158360668bb89.tar.gz
lufa-654217548b03d25be1a9b2a4097158360668bb89.tar.bz2
lufa-654217548b03d25be1a9b2a4097158360668bb89.zip
Fix incorrect Interrupt disable function for the XMEGA architecture (thanks to Simon Küppers).
Diffstat (limited to 'LUFA/Drivers/USB/Core/XMEGA')
-rw-r--r--LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c2
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 b85f301d5..51f35a668 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;
}