projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added LEDs_ToggleLEDs() function to several board LED drivers which were missing...
[pub/lufa.git]
/
LUFA
/
Drivers
/
Board
/
EVK527
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/EVK527/LEDs.h
b/LUFA/Drivers/Board/EVK527/LEDs.h
index
7612ba0
..
9f36ec8
100644
(file)
--- a/
LUFA/Drivers/Board/EVK527/LEDs.h
+++ b/
LUFA/Drivers/Board/EVK527/LEDs.h
@@
-114,7
+114,7
@@
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
{
- PORTD
= (PORTD ^ (LEDMask & LEDS_ALL_LEDS))
;
+ PORTD
^= LEDMask
;
}
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;