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
index f23317d..74c6d16 100644 (file)
                        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