Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA specific sei() macro, for future demo/project portability.
This commit is contained in:
1 parent
92ee5ad826
commit
1eefbf9041
75 files changed
+77
-77
No files matched your search
@@ -83,7 +83,7 @@ int main(void)
|
||||
|
||||
RingBuffer_InitBuffer(&FromHost_Buffer, FromHost_Buffer_Data, sizeof(FromHost_Buffer_Data));
|
||||
|
||||
sei();
|
||||
GlobalInterruptEnable();
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user