From 63fb35f31978967991fad28ab52f955297cd595d Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 12 Aug 2012 18:00:04 +0000 Subject: Fix incorrect LED masks for the Olimex 32U4 and Leonardo boards. --- LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h | 4 ++-- LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'LUFA/Drivers/Board/AVR8') 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) -- cgit v1.2.3