From e85d904fe18b09cc6b001424824eebfb0361ebfe Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Tue, 29 Dec 2020 18:23:50 -0500 Subject: Add convenience method for setting Nibble's big LED RGB (#11257) --- keyboards/nullbitsco/nibble/big_led.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'keyboards/nullbitsco/nibble/big_led.c') diff --git a/keyboards/nullbitsco/nibble/big_led.c b/keyboards/nullbitsco/nibble/big_led.c index eb0d0a5071..9fd06a5de1 100644 --- a/keyboards/nullbitsco/nibble/big_led.c +++ b/keyboards/nullbitsco/nibble/big_led.c @@ -15,6 +15,12 @@ */ #include "big_led.h" +void set_big_LED_rgb(uint8_t r_mode, uint8_t g_mode, uint8_t b_mode) { + set_big_LED_r(r_mode); + set_big_LED_g(g_mode); + set_big_LED_b(b_mode); +} + void set_big_LED_r(uint8_t mode) { switch(mode) { case LED_ON: @@ -64,4 +70,4 @@ void set_big_LED_b(uint8_t mode) { default: break; } -} \ No newline at end of file +} -- cgit v1.2.3