diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-27 13:41:06 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-27 13:41:06 +0000 |
commit | 8c3d421a017301df0d7024db1b4dd318f6a333ab (patch) | |
tree | 495b3f6a119e8101cd252669d31f48e9e55d6a2a /LUFA/Drivers/Board/UC3/EVK1100 | |
parent | 8cc3fd56d95bbeb3587d1ddb118a3e70ef97e8dd (diff) | |
download | lufa-8c3d421a017301df0d7024db1b4dd318f6a333ab.tar.gz lufa-8c3d421a017301df0d7024db1b4dd318f6a333ab.tar.bz2 lufa-8c3d421a017301df0d7024db1b4dd318f6a333ab.zip |
Added board hardware driver support for the EVK1104 board.
Fix inverted LEDs_GetLEDs() result for the EVK1100 and EVK1101 boards.
Diffstat (limited to 'LUFA/Drivers/Board/UC3/EVK1100')
-rw-r--r-- | LUFA/Drivers/Board/UC3/EVK1100/LEDs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h b/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h index 0c0861883..aac407a28 100644 --- a/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h +++ b/LUFA/Drivers/Board/UC3/EVK1100/LEDs.h @@ -139,7 +139,7 @@ static inline uint32_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
static inline uint32_t LEDs_GetLEDs(void)
{
- return (AVR32_GPIO.port[LEDS_PORT].ovr & LEDS_ALL_LEDS);
+ return (~AVR32_GPIO.port[LEDS_PORT].ovr & LEDS_ALL_LEDS);
}
#endif
|