Fix incorrect LED masks for the Olimex 32U4 and Leonardo boards.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 12 Aug 2012 18:00:04 +0000 (18:00 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 12 Aug 2012 18:00:04 +0000 (18:00 +0000)
LUFA/Drivers/Board/AVR8/LEONARDO/LEDs.h
LUFA/Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h

index ea6cc77..e3083aa 100644 (file)
        /* Public Interface - May be used in end-application: */
                /* Macros: */
                        /** LED mask for the first LED on the board. */
        /* 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. */
 
                        /** 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)
 
                        /** LED mask for the third LED on the board. */
                        #define LEDS_LED3        (1 << 7)
index 1461923..cf01e52 100644 (file)
        /* Public Interface - May be used in end-application: */
                /* Macros: */
                        /** LED mask for the first LED on the board. */
        /* 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. */
 
                        /** 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)
 
                        /** LED mask for the third LED on the board. */
                        #define LEDS_LED3        (1 << 6)