projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation improvements. Remove AS4 project generator script as it is buggy...
[pub/USBasp.git]
/
Demos
/
Host
/
LowLevel
/
PrinterHost
/
PrinterHost.c
diff --git
a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c
b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c
index
59e239e
..
b5f5a0d
100644
(file)
--- a/
Demos/Host/LowLevel/PrinterHost/PrinterHost.c
+++ b/
Demos/Host/LowLevel/PrinterHost/PrinterHost.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-43,10
+43,10
@@
int main(void)
{
SetupHardware();
{
SetupHardware();
- LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-
puts_P(PSTR(ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE));
puts_P(PSTR(ESC_FG_CYAN "Printer Host Demo running.\r\n" ESC_FG_WHITE));
- sei();
+
+ LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
+ GlobalInterruptEnable();
for (;;)
{
for (;;)
{
@@
-218,7
+218,7
@@
void PrinterHost_Task(void)
puts_P(PSTR("Test Page Sent.\r\n"));
/* Indicate device no longer busy */
puts_P(PSTR("Test Page Sent.\r\n"));
/* Indicate device no longer busy */
- LEDs_SetAllLEDs(LEDMASK_USB_READY);
+ LEDs_SetAllLEDs(LEDMASK_USB_READY);
USB_Host_SetDeviceConfiguration(0);
}
USB_Host_SetDeviceConfiguration(0);
}