Fix up the StaticAnalysis build test so that it does not report invalid configurations.
[pub/USBasp.git] / LUFA / Drivers / Board / AVR8 / UNO / LEDs.h
index 2a6178c..9c01c61 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