Add activity LED updates to the AVRISP project.
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 23 Nov 2009 05:28:08 +0000 (05:28 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 23 Nov 2009 05:28:08 +0000 (05:28 +0000)
LUFA/ManPages/ChangeLog.txt
LUFA/ManPages/MigrationInformation.txt
Projects/AVRISP/AVRISP.c
Projects/AVRISP/AVRISP.h

index 57bfc1e..c6ed0ee 100644 (file)
@@ -6,6 +6,10 @@
 \r
  /** \page Page_ChangeLog Project Changelog\r
   *\r
+  *  \section Sec_ChangeLogXXXXXX Version XXXXXX\r
+  *\r
+  *  <b>There is no changelog information for this version.</b>\r
+  *\r
   *  \section Sec_ChangeLog091122 Version 091122\r
   *\r
   *  <b>New:</b>\r
index d840576..89bba96 100644 (file)
  *  to the next version released. It does not indicate all new additions to the library in each version change, only\r
  *  areas relevant to making older projects compatible with the API changes of each new release.\r
  *\r
+ * \section Sec_MigrationXXXXXX Migrating from 091122 to XXXXXX\r
+ *  \r
+ *  <b>There is no migration information for this version.</b>\r
+ *\r
  * \section Sec_Migration091122 Migrating from 090924 to 091122\r
  *  \r
  *  <b>Host Mode</b>\r
index 203fced..c0572fc 100644 (file)
@@ -123,8 +123,12 @@ void Process_AVRISP_Commands(void)
        /* 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
+\r
+               LEDs_SetAllLEDs(LEDMASK_USB_READY);\r
        }\r
 }\r
 \r
index e17fe30..a0f4d5e 100644 (file)
@@ -67,6 +67,9 @@
                /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */\r
                #define LEDMASK_USB_ERROR        (LEDS_LED1 | LEDS_LED3)\r
 \r
+               /** LED mask for the library LED driver, to indicate that the USB interface is busy. */\r
+               #define LEDMASK_BUSY             (LEDS_LED1 | LEDS_LED2)\r
+\r
        /* Function Prototypes: */\r
                void SetupHardware(void);\r
 \r