diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-12-28 22:07:31 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-12-28 22:07:31 +0000 |
commit | cb9ef559a02db8f661d5596a3686641d87630eb9 (patch) | |
tree | 1307152440659c3ba5075ab9e368d153a06cdf13 /LUFA/Drivers/Board/MAXIMUS/LEDs.h | |
parent | 6026b9128b3e9095375224731dd95e70c3edc206 (diff) | |
download | lufa-cb9ef559a02db8f661d5596a3686641d87630eb9.tar.gz lufa-cb9ef559a02db8f661d5596a3686641d87630eb9.tar.bz2 lufa-cb9ef559a02db8f661d5596a3686641d87630eb9.zip |
Fixed inverted Minimus board LEDs.
Diffstat (limited to 'LUFA/Drivers/Board/MAXIMUS/LEDs.h')
-rw-r--r-- | LUFA/Drivers/Board/MAXIMUS/LEDs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/MAXIMUS/LEDs.h b/LUFA/Drivers/Board/MAXIMUS/LEDs.h index d540d3263..9b5de1560 100644 --- a/LUFA/Drivers/Board/MAXIMUS/LEDs.h +++ b/LUFA/Drivers/Board/MAXIMUS/LEDs.h @@ -111,7 +111,7 @@ static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
- PORTB = (PORTB ^ (LEDMask & LEDS_ALL_LEDS));
+ PORTB ^= LEDMask;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
|