Fix USBtoSerial device demos -- ensure the UDR1 register contents is read in under...
[pub/USBasp.git] / LUFA / Drivers / Board / ATAVRUSBRF01 / LEDs.h
index 9f80827..8487ee7 100644 (file)
                        {\r
                                PORTD = ((PORTD & ~(LEDMask & LEDS_ALL_LEDS)) | (ActiveMask & LEDS_ALL_LEDS));\r
                        }\r
+\r
+                       static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)\r
+                       {\r
+                               PORTD = (PORTD ^ (LEDMask & LEDS_ALL_LEDS));\r
+                       }\r
                        \r
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r
                        static inline uint8_t LEDs_GetLEDs(void)\r