Added board hardware driver support for the Arduino Uno development board.
[pub/lufa.git] / LUFA / Drivers / Board / BENITO / LEDs.h
index a2e3c40..ff70198 100644 (file)
@@ -54,7 +54,7 @@
        /* Includes: */
                #include <avr/io.h>
 
-/* Enable C linkage for C++ Compilers: */
+       /* Enable C linkage for C++ Compilers: */
                #if defined(__cplusplus)
                        extern "C" {
                #endif
                        static inline void LEDs_ChangeLEDs(const uint8_t LEDMask,
                                                           const uint8_t ActiveMask)
                        {
-                               PORTC = ((PORTC | ActiveMask) & ~LEDMask);
+                               PORTC = ((PORTC | LEDMask) & ~ActiveMask);
                        }
 
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)