aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-03-18 22:03:27 +1100
committerGitHub <[email protected]>2024-03-18 22:03:27 +1100
commitf7cf40fa77164d7be9358ce83f7f5939d71b38bc (patch)
tree812acccac18212ae685a4dbc5e25fbe216b787ea /keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
parent23b7a02ebe2e6df738baa624c17e821c1573b69b (diff)
downloadqmk_firmware-f7cf40fa77164d7be9358ce83f7f5939d71b38bc.tar.gz
qmk_firmware-f7cf40fa77164d7be9358ce83f7f5939d71b38bc.zip
Add init function to RGBLight driver struct (#23076)
Diffstat (limited to 'keyboards/kprepublic/bm60hsrgb/rev2/rev2.c')
-rw-r--r--keyboards/kprepublic/bm60hsrgb/rev2/rev2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
index 3ee74755fa..5bd23a12b8 100644
--- a/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
+++ b/keyboards/kprepublic/bm60hsrgb/rev2/rev2.c
@@ -154,6 +154,7 @@ rgb_led_t rgb_matrix_ws2812_array[WS2812_LED_TOTAL];
static void rgb_matrix_driver_init(void) {
i2c_init();
is31fl3733_init(0);
+ ws2812_init();
for (uint8_t index = 0; index < IS31FL3733_LED_COUNT; index++) {
bool enabled = true;
is31fl3733_set_led_control_register(index, enabled, enabled, enabled);