From: Dean Camera Date: Sun, 12 Aug 2012 18:00:04 +0000 (+0000) Subject: Fix incorrect LED masks for the Olimex 32U4 and Leonardo boards. X-Git-Tag: LUFA-130303~84 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/63fb35f31978967991fad28ab52f955297cd595d?ds=sidebyside Fix incorrect LED masks for the Olimex 32U4 and Leonardo boards. --- 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)