aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-08-12 18:00:04 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-08-12 18:00:04 +0000
commit63fb35f31978967991fad28ab52f955297cd595d (patch)
tree5d9d6ba6ffd6819e053caec4106eff07bb078122 /LUFA/Drivers/Board
parente92a9845d3ae7d4784d18b1d5b08bf6f614204cc (diff)
downloadlufa-63fb35f31978967991fad28ab52f955297cd595d.tar.gz
lufa-63fb35f31978967991fad28ab52f955297cd595d.tar.bz2
lufa-63fb35f31978967991fad28ab52f955297cd595d.zip
Fix incorrect LED masks for the Olimex 32U4 and Leonardo boards.
Diffstat (limited to 'LUFA/Drivers/Board')
-rw-r--r--LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h4
-rw-r--r--LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h b/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h
index ea6cc779e..e3083aa50 100644
--- a/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h
+++ b/LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h
@@ -79,10 +79,10 @@
/* Public Interface - May be used in end-application: */
/* Macros: */
/** LED mask for the first LED on the board. */
- #define LEDS_LED1 (1 << 5)
+ #define LEDS_LED1 (1 << 0)
/** LED mask for the second LED on the board. */
- #define LEDS_LED2 (1 << 0)
+ #define LEDS_LED2 (1 << 5)
/** LED mask for the third LED on the board. */
#define LEDS_LED3 (1 << 7)
diff --git a/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h b/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
index 14619234c..cf01e522b 100644
--- a/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
+++ b/LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h
@@ -79,10 +79,10 @@
/* Public Interface - May be used in end-application: */
/* Macros: */
/** LED mask for the first LED on the board. */
- #define LEDS_LED1 (1 << 5)
+ #define LEDS_LED1 (1 << 0)
/** LED mask for the second LED on the board. */
- #define LEDS_LED2 (1 << 0)
+ #define LEDS_LED2 (1 << 5)
/** LED mask for the third LED on the board. */
#define LEDS_LED3 (1 << 6)