diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-24 01:26:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-24 01:26:36 +0000 |
commit | 3991c94b3858bbb02ca9ea6497cf60c84635b99a (patch) | |
tree | 946b4a7cd1be9386628c8ec2aaa2088218b44711 /Projects/Benito/Benito.h | |
parent | 2a0c28e6e47c8a173f32fc99cd8666a2633c5c12 (diff) | |
download | lufa-3991c94b3858bbb02ca9ea6497cf60c84635b99a.tar.gz lufa-3991c94b3858bbb02ca9ea6497cf60c84635b99a.tar.bz2 lufa-3991c94b3858bbb02ca9ea6497cf60c84635b99a.zip |
Ensure new Benito Programmer project matches Don's established LED behaviour - flash LED while generating target /RESET pulse, ping-pong LEDs during enumeration.
Diffstat (limited to 'Projects/Benito/Benito.h')
-rw-r--r-- | Projects/Benito/Benito.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/Projects/Benito/Benito.h b/Projects/Benito/Benito.h index 5eefd7aeb..740319f64 100644 --- a/Projects/Benito/Benito.h +++ b/Projects/Benito/Benito.h @@ -51,24 +51,16 @@ #include <LUFA/Drivers/USB/Class/CDC.h>
/* Macros: */
- /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */
- #define LEDMASK_USB_NOTREADY LEDS_NO_LEDS
-
- /** LED mask for the library LED driver, to indicate that the USB interface is enumerating. */
- #define LEDMASK_USB_ENUMERATING (LEDS_LED1 | LEDS_LED2)
-
- /** LED mask for the library LED driver, to indicate that the USB interface is ready. */
- #define LEDMASK_USB_READY LEDS_NO_LEDS
-
- /** 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_LED2)
-
/** LED mask for the library LED driver, to indicate TX activity. */
#define LEDMASK_TX LEDS_LED1
/** LED mask for the library LED driver, to indicate RX activity. */
#define LEDMASK_RX LEDS_LED2
+ #define LEDMASK_ERROR (LEDS_LED1 | LEDS_LED2)
+
+ #define LEDMASK_BUSY (LEDS_LED1 | LEDS_LED2)
+
/* Function Prototypes: */
void SetupHardware(void);
|