projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make CPPCheck tool happy by altering the program flow in the low level keyboard examp...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
AVR8
/
MINIMUS
/
LEDs.h
diff --git
a/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h
b/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h
index
f23317d
..
74c6d16
100644
(file)
--- a/
LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h
+++ b/
LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h
@@
-128,7
+128,7
@@
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t LEDs_GetLEDs(void)
{
- return (PORTD & LEDS_ALL_LEDS);
+ return (
~
PORTD & LEDS_ALL_LEDS);
}
#endif