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:
parent
8cc3fd56d9
commit
8c3d421a01
10 changed files with 263 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue