Skip to content
Snippets Groups Projects
Commit 69e42579 authored by Micah Elizabeth Scott's avatar Micah Elizabeth Scott
Browse files

Disable IRQs during reenumeration delay

parent 6debe778
No related branches found
No related tags found
No related merge requests found
......@@ -147,8 +147,9 @@ int main()
}
// USB disconnect and reboot, using watchdog to time 10ms.
USB0_CONTROL = 0;
watchdog_refresh();
__disable_irq();
USB0_CONTROL = 0;
while (1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment