aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/BENITO/LEDs.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-28 14:30:26 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-28 14:30:26 +0000
commit25d896a507d1895676dca19049a58ffc85384a0e (patch)
tree456c72b6a1dd3f23ddb60d0d1eaf5a36e807514f /LUFA/Drivers/Board/BENITO/LEDs.h
parentb2a30cd48a0621b360d23dd430c646d22e943d09 (diff)
downloadlufa-25d896a507d1895676dca19049a58ffc85384a0e.tar.gz
lufa-25d896a507d1895676dca19049a58ffc85384a0e.tar.bz2
lufa-25d896a507d1895676dca19049a58ffc85384a0e.zip
Added board hardware driver support for the Arduino Uno development board.
Fixed incorrect LEDs_ChangeLEDs() function in the Benito board LED driver.
Diffstat (limited to 'LUFA/Drivers/Board/BENITO/LEDs.h')
-rw-r--r--LUFA/Drivers/Board/BENITO/LEDs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Board/BENITO/LEDs.h b/LUFA/Drivers/Board/BENITO/LEDs.h
index a2e3c40ba..ff701985b 100644
--- a/LUFA/Drivers/Board/BENITO/LEDs.h
+++ b/LUFA/Drivers/Board/BENITO/LEDs.h
@@ -54,7 +54,7 @@
/* Includes: */
#include <avr/io.h>
-/* Enable C linkage for C++ Compilers: */
+ /* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
extern "C" {
#endif
@@ -104,7 +104,7 @@
static inline void LEDs_ChangeLEDs(const uint8_t LEDMask,
const uint8_t ActiveMask)
{
- PORTC = ((PORTC | ActiveMask) & ~LEDMask);
+ PORTC = ((PORTC | LEDMask) & ~ActiveMask);
}
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)