Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.

This commit is contained in:
Dean Camera 2012-09-17 21:00:59 +00:00
parent 92ee5ad826
commit 1eefbf9041
75 changed files with 77 additions and 77 deletions

View file

@ -43,10 +43,10 @@ int main(void)
{
SetupHardware();
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
puts_P(PSTR(ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE));
sei();
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
GlobalInterruptEnable();
for (;;)
{