X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d6edfe35c8a9490407e4a5e34f8e5108c6a260a3..f92b56191de02ce95c35349274ccb4e522841348:/Projects/AVRISP/AVRISP.c diff --git a/Projects/AVRISP/AVRISP.c b/Projects/AVRISP/AVRISP.c index 203fced45..02292aa46 100644 --- a/Projects/AVRISP/AVRISP.c +++ b/Projects/AVRISP/AVRISP.c @@ -70,6 +70,7 @@ void SetupHardware(void) /* Hardware Initialization */ LEDs_Init(); USB_Init(); + SerialStream_Init(9600, true); #if defined(ADC) /* Initialize the ADC converter for VTARGET level detection on supported AVR models */ @@ -123,8 +124,12 @@ void Process_AVRISP_Commands(void) /* Check to see if a V2 Protocol command has been received */ if (Endpoint_IsOUTReceived()) { + LEDs_SetAllLEDs(LEDMASK_BUSY); + /* Pass off processing of the V2 Protocol command to the V2 Protocol handler */ V2Protocol_ProcessCommand(); + + LEDs_SetAllLEDs(LEDMASK_USB_READY); } }