projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new more reliable software UART for the XPLAINBridge project by David Prentice...
[pub/lufa.git]
/
Projects
/
AVRISP
/
AVRISP.c
diff --git
a/Projects/AVRISP/AVRISP.c
b/Projects/AVRISP/AVRISP.c
index
203fced
..
02292aa
100644
(file)
--- a/
Projects/AVRISP/AVRISP.c
+++ b/
Projects/AVRISP/AVRISP.c
@@
-70,6
+70,7
@@
void SetupHardware(void)
/* Hardware Initialization */
\r
LEDs_Init();
\r
USB_Init();
\r
/* Hardware Initialization */
\r
LEDs_Init();
\r
USB_Init();
\r
+ SerialStream_Init(9600, true);
\r
\r
#if defined(ADC)
\r
/* Initialize the ADC converter for VTARGET level detection on supported AVR models */
\r
\r
#if defined(ADC)
\r
/* Initialize the ADC converter for VTARGET level detection on supported AVR models */
\r
@@
-123,8
+124,12
@@
void Process_AVRISP_Commands(void)
/* Check to see if a V2 Protocol command has been received */
\r
if (Endpoint_IsOUTReceived())
\r
{
\r
/* Check to see if a V2 Protocol command has been received */
\r
if (Endpoint_IsOUTReceived())
\r
{
\r
+ LEDs_SetAllLEDs(LEDMASK_BUSY);
\r
+
\r
/* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
\r
V2Protocol_ProcessCommand();
\r
/* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
\r
V2Protocol_ProcessCommand();
\r
+
\r
+ LEDs_SetAllLEDs(LEDMASK_USB_READY);
\r
}
\r
}
\r
\r
}
\r
}
\r
\r