summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-29 23:24:24 +0000
committerQMK Bot <hello@qmk.fm>2020-12-29 23:24:24 +0000
commit79265fc2c0e3c5f63dc11cafa807a346cb045cc0 (patch)
tree637b1ac5213d70681606f36244f85e387bd09194 /keyboards
parent871d99e659faa8cb29b80b2a94d0d3fcf5ef2c08 (diff)
parente85d904fe18b09cc6b001424824eebfb0361ebfe (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/nullbitsco/nibble/big_led.c8
-rw-r--r--keyboards/nullbitsco/nibble/big_led.h5
2 files changed, 10 insertions, 3 deletions
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
+}
diff --git a/keyboards/nullbitsco/nibble/big_led.h b/keyboards/nullbitsco/nibble/big_led.h
index 113aaaf106..b4b0650787 100644
--- a/keyboards/nullbitsco/nibble/big_led.h
+++ b/keyboards/nullbitsco/nibble/big_led.h
@@ -15,7 +15,7 @@
*/
#pragma once
-#include "quantum.h"
+#include "quantum.h"
/* Optional big LED pins */
#define BIG_LED_R_PIN D7
@@ -29,6 +29,7 @@
#define GPIO_STATE_HIGH 1
void
+ set_big_LED_rgb(uint8_t r_mode, uint8_t g_mode, uint8_t b_mode),
set_big_LED_r(uint8_t mode),
set_big_LED_g(uint8_t mode),
- set_big_LED_b(uint8_t mode); \ No newline at end of file
+ set_big_LED_b(uint8_t mode);