aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/AVR8/MINIMUS
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-08-12 17:25:39 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-08-12 17:25:39 +0000
commit40755d4fde2e7b88341d91f61e6f053144c02986 (patch)
tree4119e2ee3683e9b61f1c694f598f213708b265f2 /LUFA/Drivers/Board/AVR8/MINIMUS
parent6fb6c628fa63036fa1a2244eabf3880624b3ca0b (diff)
downloadlufa-40755d4fde2e7b88341d91f61e6f053144c02986.tar.gz
lufa-40755d4fde2e7b88341d91f61e6f053144c02986.tar.bz2
lufa-40755d4fde2e7b88341d91f61e6f053144c02986.zip
Fixed inverted LED driving code for the Arduino Leonardo board. Fixed inverted LEDs_GetLEDs() function implementation for the Benito, Minimus and Arduino UNO boards.
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/MINIMUS')
-rw-r--r--LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h b/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h
index f23317d1c..74c6d1648 100644
--- a/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h
+++ b/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h
@@ -128,7 +128,7 @@
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t LEDs_GetLEDs(void)
{
- return (PORTD & LEDS_ALL_LEDS);
+ return (~PORTD & LEDS_ALL_LEDS);
}
#endif