summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm60hsrgb_poker
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kprepublic/bm60hsrgb_poker')
-rw-r--r--keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json2
-rw-r--r--keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json b/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json
index c323a31dea..796792082d 100644
--- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json
+++ b/keyboards/kprepublic/bm60hsrgb_poker/rev1/info.json
@@ -12,7 +12,7 @@
"pin": "E2"
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "ws2812"
},
"rgblight": {
"saturation_steps": 8,
diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c
index ee95726e16..bd976f315a 100644
--- a/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c
+++ b/keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c
@@ -149,16 +149,16 @@ LED_TYPE rgb_matrix_ws2812_array[WS2812_LED_TOTAL];
static void rgb_matrix_driver_init(void) {
i2c_init();
- IS31FL3733_init(DRIVER_ADDR_1, 0);
+ is31fl3733_init(DRIVER_ADDR_1, 0);
for (uint8_t index = 0; index < ISSI_LED_TOTAL; index++) {
bool enabled = true;
- IS31FL3733_set_led_control_register(index, enabled, enabled, enabled);
+ is31fl3733_set_led_control_register(index, enabled, enabled, enabled);
}
- IS31FL3733_update_led_control_registers(DRIVER_ADDR_1, 0);
+ is31fl3733_update_led_control_registers(DRIVER_ADDR_1, 0);
}
static void rgb_matrix_driver_flush(void) {
- IS31FL3733_update_pwm_buffers(DRIVER_ADDR_1, 0);
+ is31fl3733_update_pwm_buffers(DRIVER_ADDR_1, 0);
# if WS2812_LED_TOTAL > 0
ws2812_setleds(rgb_matrix_ws2812_array, WS2812_LED_TOTAL);
# endif
@@ -166,7 +166,7 @@ static void rgb_matrix_driver_flush(void) {
static void rgb_matrix_driver_set_color(int index, uint8_t red, uint8_t green, uint8_t blue) {
if (index < ISSI_LED_TOTAL) {
- IS31FL3733_set_color(index, red, green, blue);
+ is31fl3733_set_color(index, red, green, blue);
} else {
# if WS2812_LED_TOTAL > 0
rgb_matrix_ws2812_array[index - ISSI_LED_TOTAL].r = red;
@@ -177,7 +177,7 @@ static void rgb_matrix_driver_set_color(int index, uint8_t red, uint8_t green, u
}
static void rgb_matrix_driver_set_color_all(uint8_t red, uint8_t green, uint8_t blue) {
- IS31FL3733_set_color_all(red, green, blue);
+ is31fl3733_set_color_all(red, green, blue);
# if WS2812_LED_TOTAL > 0
for (uint8_t i = 0; i < WS2812_LED_TOTAL; i++) {
rgb_matrix_ws2812_array[i].r = red;