aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/LowLevel/AudioOutput
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-04-28 07:48:26 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-04-28 07:48:26 +0000
commit704941fe8bed209c2848c8844d306867f78c2192 (patch)
treeb26bb76882e9cca644ba0083bcc1c9ea50511463 /Demos/Device/LowLevel/AudioOutput
parentab31eb6e5ff2be73b590bb84c8e1a1f77b39f546 (diff)
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.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1219 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/LowLevel/AudioOutput')
-rw-r--r--Demos/Device/LowLevel/AudioOutput/AudioOutput.c1
-rw-r--r--Demos/Device/LowLevel/AudioOutput/AudioOutput.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/Demos/Device/LowLevel/AudioOutput/AudioOutput.c b/Demos/Device/LowLevel/AudioOutput/AudioOutput.c
index 5dcb5c57..8cd6be17 100644
--- a/Demos/Device/LowLevel/AudioOutput/AudioOutput.c
+++ b/Demos/Device/LowLevel/AudioOutput/AudioOutput.c
@@ -47,6 +47,7 @@ int main(void)
SetupHardware();
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
+ sei();
for (;;)
{
diff --git a/Demos/Device/LowLevel/AudioOutput/AudioOutput.h b/Demos/Device/LowLevel/AudioOutput/AudioOutput.h
index 3812ae0f..69b59b8f 100644
--- a/Demos/Device/LowLevel/AudioOutput/AudioOutput.h
+++ b/Demos/Device/LowLevel/AudioOutput/AudioOutput.h
@@ -40,7 +40,7 @@
#include <avr/io.h>
#include <avr/wdt.h>
#include <avr/power.h>
- #include <stdlib.h>
+ #include <avr/interrupt.h>
#include "Descriptors.h"