diff options
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h')
-rw-r--r-- | LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h b/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h index 7fa3b4719..329abb9b0 100644 --- a/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/ADAFRUITU4/LEDs.h @@ -80,6 +80,12 @@ 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; |