Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.
This commit is contained in:
@@ -45,7 +45,7 @@ int main(void)
|
||||
{
|
||||
SetupHardware();
|
||||
|
||||
sei();
|
||||
GlobalInterruptEnable();
|
||||
|
||||
for (;;)
|
||||
USB_USBTask();
|
||||
|
||||
Reference in New Issue
Block a user