Add default project template to the Doxygen manual of the library.
[pub/USBasp.git] / LUFA / Drivers / Board / AVR8 / RZUSBSTICK / LEDs.h
index 3bc45b9..7be9b37 100644 (file)
 
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
                        {
-                               PORTD ^= (LEDMask & LEDS_PORTD_LEDS);
-                               PORTE ^= ((LEDMask & LEDS_PORTE_LEDS) << LEDS_PORTE_MASK_SHIFT);
+                               PIND  = (LEDMask & LEDS_PORTD_LEDS);
+                               PINE  = ((LEDMask & LEDS_PORTE_LEDS) << LEDS_PORTE_MASK_SHIFT);
                        }
 
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;