Added board hardware driver support for the EVK1104 board.

Fix inverted LEDs_GetLEDs() result for the EVK1100 and EVK1101 boards.
This commit is contained in:
Dean Camera 2011-06-27 13:41:06 +00:00
parent 8cc3fd56d9
commit 8c3d421a01
10 changed files with 263 additions and 3 deletions

View file

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