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:
@@ -44,6 +44,8 @@
|
||||
int main(void)
|
||||
{
|
||||
SetupHardware();
|
||||
|
||||
sei();
|
||||
|
||||
for (;;)
|
||||
USB_USBTask();
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <avr/io.h>
|
||||
#include <avr/wdt.h>
|
||||
#include <avr/power.h>
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
#include "Descriptors.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user