Added LEDs_ToggleLEDs() function to several board LED drivers which were missing...
[pub/lufa.git] / LUFA / Drivers / Board / USBKEY / LEDs.h
index 86981f5..ebac08e 100644 (file)
                        
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
                        {
-                               PORTD = (PORTD ^ (LEDMask & LEDS_ALL_LEDS));
+                               PORTD ^= LEDMask;
                        }
                        
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;