From cb9ef559a02db8f661d5596a3686641d87630eb9 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 28 Dec 2010 22:07:31 +0000 Subject: Fixed inverted Minimus board LEDs. --- LUFA/Drivers/Board/RZUSBSTICK/LEDs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LUFA/Drivers/Board/RZUSBSTICK/LEDs.h') diff --git a/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h b/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h index caeb480f9..a80133512 100644 --- a/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h +++ b/LUFA/Drivers/Board/RZUSBSTICK/LEDs.h @@ -140,8 +140,8 @@ static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) { - PORTD = (PORTD ^ (LEDMask & LEDS_PORTD_LEDS)); - PORTE = (PORTE ^ ((LEDMask & LEDS_PORTE_LEDS) << LEDS_PORTE_MASK_SHIFT)); + PORTD ^= (LEDMask & LEDS_PORTD_LEDS); + PORTE ^= ((LEDMask & LEDS_PORTE_LEDS) << LEDS_PORTE_MASK_SHIFT); } static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; -- cgit v1.2.3