USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run.

This commit is contained in:
Dean Camera 2010-04-28 07:48:26 +00:00
parent 85aaaf84ce
commit 59c4871f80
135 changed files with 181 additions and 61 deletions

View file

@ -89,6 +89,7 @@ int main(void)
SetupHardware();
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
sei();
for (;;)
{

View file

@ -42,6 +42,7 @@
#include <avr/wdt.h>
#include <avr/power.h>
#include <avr/interrupt.h>
#include <avr/interrupt.h>
#include <stdbool.h>
#include <string.h>