X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/a147cee95f5373902242e7b34b92f7103fc05ae4..5563da6a626a7301e5064a8df8b3a9b03421f8aa:/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h diff --git a/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h b/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h index e4a7002a5..e4a4db112 100644 --- a/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/USBKEY/LEDs.h @@ -89,6 +89,12 @@ PORTD &= ~LEDS_ALL_LEDS; } + static inline void LEDs_Disable(void) + { + DDRD &= ~LEDS_ALL_LEDS; + PORTD &= ~LEDS_ALL_LEDS; + } + static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask) { PORTD |= LEDMask;