mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt level should be cleared, and not the interrupt level itself.
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