diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-23 05:28:08 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-11-23 05:28:08 +0000 |
commit | 86db035b1efaecffdbe8a189c97e8897d35501ca (patch) | |
tree | 43229cf91a6827ce82f42eb818f2a7692ebd5543 /Projects/AVRISP/AVRISP.c | |
parent | bcf07edeb2a172dd3aeef07908f3b7e9b235a164 (diff) | |
download | lufa-86db035b1efaecffdbe8a189c97e8897d35501ca.tar.gz lufa-86db035b1efaecffdbe8a189c97e8897d35501ca.tar.bz2 lufa-86db035b1efaecffdbe8a189c97e8897d35501ca.zip |
Add activity LED updates to the AVRISP project.
Diffstat (limited to 'Projects/AVRISP/AVRISP.c')
-rw-r--r-- | Projects/AVRISP/AVRISP.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Projects/AVRISP/AVRISP.c b/Projects/AVRISP/AVRISP.c index 203fced45..c0572fca2 100644 --- a/Projects/AVRISP/AVRISP.c +++ b/Projects/AVRISP/AVRISP.c @@ -123,8 +123,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);
}
}
|