aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/BUMBLEB/LEDs.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/Board/BUMBLEB/LEDs.h')
-rw-r--r--LUFA/Drivers/Board/BUMBLEB/LEDs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/LUFA/Drivers/Board/BUMBLEB/LEDs.h b/LUFA/Drivers/Board/BUMBLEB/LEDs.h
index 1453da4d7..6446d1241 100644
--- a/LUFA/Drivers/Board/BUMBLEB/LEDs.h
+++ b/LUFA/Drivers/Board/BUMBLEB/LEDs.h
@@ -120,6 +120,11 @@
PORTB = ((PORTB & ~LedMask) | ActiveMask);
}
+ static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)
+ {
+ PORTB ^= LEDMask;
+ }
+
static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t LEDs_GetLEDs(void)
{