Fix incorrect Interrupt disable function for the XMEGA architecture (thanks to Simon Küppers).
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
void USB_INT_DisableAllInterrupts(void)
|
||||
{
|
||||
USB.INTCTRLA &= USB_INTLVL_gm;
|
||||
USB.INTCTRLA &= ~USB_INTLVL_gm;
|
||||
USB.INTCTRLB = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user