Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
86db035b
Commit
86db035b
authored
Nov 23, 2009
by
Dean Camera
Browse files
Add activity LED updates to the AVRISP project.
parent
bcf07ede
Changes
4
Hide whitespace changes
Inline
Side-by-side
LUFA/ManPages/ChangeLog.txt
View file @
86db035b
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
*/
*/
/** \page Page_ChangeLog Project Changelog
/** \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
* \section Sec_ChangeLog091122 Version 091122
*
*
...
...
LUFA/ManPages/MigrationInformation.txt
View file @
86db035b
...
@@ -10,6 +10,10 @@
...
@@ -10,6 +10,10 @@
* to the next version released. It does not indicate all new additions to the library in each version change, only
* 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.
* 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
* \section Sec_Migration091122 Migrating from 090924 to 091122
*
*
* <b>Host Mode</b>
* <b>Host Mode</b>
...
...
Projects/AVRISP/AVRISP.c
View file @
86db035b
...
@@ -123,8 +123,12 @@ void Process_AVRISP_Commands(void)
...
@@ -123,8 +123,12 @@ void Process_AVRISP_Commands(void)
/* Check to see if a V2 Protocol command has been received */
/* Check to see if a V2 Protocol command has been received */
if
(
Endpoint_IsOUTReceived
())
if
(
Endpoint_IsOUTReceived
())
{
{
LEDs_SetAllLEDs
(
LEDMASK_BUSY
);
/* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
/* Pass off processing of the V2 Protocol command to the V2 Protocol handler */
V2Protocol_ProcessCommand
();
V2Protocol_ProcessCommand
();
LEDs_SetAllLEDs
(
LEDMASK_USB_READY
);
}
}
}
}
Projects/AVRISP/AVRISP.h
View file @
86db035b
...
@@ -67,6 +67,9 @@
...
@@ -67,6 +67,9 @@
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
/** 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)
#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: */
/* Function Prototypes: */
void
SetupHardware
(
void
);
void
SetupHardware
(
void
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment