Ensure that USB_DEVICE_ONLY or USB_HOST_ONLY is properly set for devices that physica...
[pub/USBasp.git] / LUFA / Drivers / Board / AVR8 / BIGMULTIO / LEDs.h
index 4c74961..89516dc 100644 (file)
 \r
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)\r
                        {\r
-                               PORTF ^= (LEDMask & LEDS_PORTF_LEDS);\r
-                               PORTE ^= (LEDMask & LEDS_PORTE_LEDS);\r
+                               PINF  = (LEDMask & LEDS_PORTF_LEDS);\r
+                               PINE  = (LEDMask & LEDS_PORTE_LEDS);\r
                        }\r
 \r
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r