Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the...
[pub/USBasp.git] / LUFA / Drivers / Board / AVR8 / TUL / LEDs.h
index 4968a18..def25fd 100644 (file)
                                PORTF &= ~LEDS_ALL_LEDS;
                        }
 
+                       static inline void LEDs_Disable(void)
+                       {
+                               DDRF  &= ~LEDS_ALL_LEDS;
+                               PORTF &= ~LEDS_ALL_LEDS;
+                       }
+
                        static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
                        {
                                PORTF |= LEDMask;