Fixed inverted Minimus board LEDs.

This commit is contained in:
Dean Camera 2010-12-28 22:07:31 +00:00
parent 6026b9128b
commit cb9ef559a0
6 changed files with 12 additions and 11 deletions

View file

@ -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;