Changed board LED driver implementations of LEDs_ToggleLEDs() for the AVR8 architectu...
[pub/USBasp.git] / LUFA / Drivers / Board / AVR8 / MULTIO / LEDs.h
index c5f07b9..64f68a5 100644 (file)
 \r
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)\r
                        {\r
-                               PORTD ^= (LEDMask & LEDS_PORTD_LEDS);\r
-                               PORTC ^= (LEDMask & LEDS_PORTC_LEDS);\r
+                               PIND  = (LEDMask & LEDS_PORTD_LEDS);\r
+                               PINC  = (LEDMask & LEDS_PORTC_LEDS);\r
                        }\r
 \r
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r