Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the...
[pub/lufa.git] / LUFA / Drivers / Board / AVR8 / ADAFRUITU4 / LEDs.h
index 7fa3b47..329abb9 100644 (file)
                                PORTE &= ~LEDS_ALL_LEDS;
                }
 
+                       static inline void LEDs_Disable(void)
+                       {
+                               DDRE  &= ~LEDS_ALL_LEDS;
+                               PORTE &= ~LEDS_ALL_LEDS;
+               }
+
                        static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
                        {
                                PORTE |= LEDMask;