Skip to content
Snippets Groups Projects
Commit 7f5445c8 authored by Dean Camera's avatar Dean Camera
Browse files

Revert incorrect XMEGA interrupt disable patch; all flags *except* the...

Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt level should be cleared, and not the interrupt level itself.
parent 7464e40a
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@
void USB_INT_DisableAllInterrupts(void)
{
USB.INTCTRLA &= ~USB_INTLVL_gm;
USB.INTCTRLA &= USB_INTLVL_gm;
USB.INTCTRLB = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment