projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the framework provided GlobalInterruptEnable() function instead of the AVR8/XMEGA...
[pub/lufa.git]
/
Demos
/
Host
/
LowLevel
/
PrinterHost
/
PrinterHost.c
diff --git
a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c
b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c
index
eecd064
..
b5f5a0d
100644
(file)
--- a/
Demos/Host/LowLevel/PrinterHost/PrinterHost.c
+++ b/
Demos/Host/LowLevel/PrinterHost/PrinterHost.c
@@
-43,10
+43,10
@@
int main(void)
{
SetupHardware();
- LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-
puts_P(PSTR(ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE));
- sei();
+
+ LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
+ GlobalInterruptEnable();
for (;;)
{