diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-30 07:09:20 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-30 07:09:20 +0000 |
commit | 028a3c4ab3f73af3c63d05379002150c8ccd4982 (patch) | |
tree | 1f816bc9f792eae7affff8f12fb36ea6f5767362 /LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c | |
parent | 6519aaa571463ba0933b3d8a98251f113c51c7e0 (diff) | |
download | lufa-028a3c4ab3f73af3c63d05379002150c8ccd4982.tar.gz lufa-028a3c4ab3f73af3c63d05379002150c8ccd4982.tar.bz2 lufa-028a3c4ab3f73af3c63d05379002150c8ccd4982.zip |
XMEGA port improvements; connection and disconnection are now detected correctly. Fixed incorrect interrupt priority levels being set for XMEGA devices.
Diffstat (limited to 'LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c')
-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 dccdf2e45..62fbf2d91 100644 --- a/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c +++ b/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c @@ -33,7 +33,7 @@ void USB_INT_DisableAllInterrupts(void) { - USB.INTCTRLA = 0; + USB.INTCTRLA &= USB_INTLVL_gm; USB.INTCTRLB = 0; } |