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:
parent
85aaaf84ce
commit
59c4871f80
135 changed files with 181 additions and 61 deletions
|
|
@ -76,6 +76,8 @@ int main(void)
|
|||
|
||||
for (uint8_t Buffer = 0; Buffer < TOTAL_TRACKS; Buffer++)
|
||||
BitBuffer_Init(&TrackDataBuffers[Buffer]);
|
||||
|
||||
sei();
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
#include <avr/io.h>
|
||||
#include <avr/wdt.h>
|
||||
#include <avr/power.h>
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
#include "Descriptors.h"
|
||||
#include "Lib/MagstripeHW.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue