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 | |
parent | bcf07edeb2a172dd3aeef07908f3b7e9b235a164 (diff) | |
download | lufa-86db035b1efaecffdbe8a189c97e8897d35501ca.tar.gz lufa-86db035b1efaecffdbe8a189c97e8897d35501ca.tar.bz2 lufa-86db035b1efaecffdbe8a189c97e8897d35501ca.zip |
Add activity LED updates to the AVRISP project.
-rw-r--r-- | LUFA/ManPages/ChangeLog.txt | 4 | ||||
-rw-r--r-- | LUFA/ManPages/MigrationInformation.txt | 4 | ||||
-rw-r--r-- | Projects/AVRISP/AVRISP.c | 4 | ||||
-rw-r--r-- | Projects/AVRISP/AVRISP.h | 3 |
4 files changed, 15 insertions, 0 deletions
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 57bfc1ee0..c6ed0ee43 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -6,6 +6,10 @@ /** \page Page_ChangeLog Project Changelog
*
+ * \section Sec_ChangeLogXXXXXX Version XXXXXX
+ *
+ * <b>There is no changelog information for this version.</b>
+ *
* \section Sec_ChangeLog091122 Version 091122
*
* <b>New:</b>
diff --git a/LUFA/ManPages/MigrationInformation.txt b/LUFA/ManPages/MigrationInformation.txt index d840576ff..89bba9697 100644 --- a/LUFA/ManPages/MigrationInformation.txt +++ b/LUFA/ManPages/MigrationInformation.txt @@ -10,6 +10,10 @@ * to the next version released. It does not indicate all new additions to the library in each version change, only
* areas relevant to making older projects compatible with the API changes of each new release.
*
+ * \section Sec_MigrationXXXXXX Migrating from 091122 to XXXXXX
+ *
+ * <b>There is no migration information for this version.</b>
+ *
* \section Sec_Migration091122 Migrating from 090924 to 091122
*
* <b>Host Mode</b>
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);
}
}
diff --git a/Projects/AVRISP/AVRISP.h b/Projects/AVRISP/AVRISP.h index e17fe3009..a0f4d5e79 100644 --- a/Projects/AVRISP/AVRISP.h +++ b/Projects/AVRISP/AVRISP.h @@ -67,6 +67,9 @@ /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
+ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */
+ #define LEDMASK_BUSY (LEDS_LED1 | LEDS_LED2)
+
/* Function Prototypes: */
void SetupHardware(void);
|