summaryrefslogtreecommitdiff
path: root/keyboards/skyloong
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-01-01 17:04:51 +1100
committerGitHub <noreply@github.com>2024-01-01 17:04:51 +1100
commitae2d5e2e5a170fa49e25b324c63e8650e6c872f9 (patch)
tree02d48af5d0659e6dbe73032c4411068e04b6dd5f /keyboards/skyloong
parent0ea32032050962cae1852cf75620185254c199a5 (diff)
LED drivers: extract IS31FL3743A from IS31COMMON (#22635)
Diffstat (limited to 'keyboards/skyloong')
-rw-r--r--keyboards/skyloong/gk61/pro/config.h2
-rw-r--r--keyboards/skyloong/gk61/pro/pro.c2
-rw-r--r--keyboards/skyloong/gk61/pro_48/config.h2
-rw-r--r--keyboards/skyloong/gk61/pro_48/pro_48.c2
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/skyloong/gk61/pro/config.h b/keyboards/skyloong/gk61/pro/config.h
index 8e9b5f9258..38e87877d0 100644
--- a/keyboards/skyloong/gk61/pro/config.h
+++ b/keyboards/skyloong/gk61/pro/config.h
@@ -3,6 +3,8 @@
#pragma once
+#define IS31FL3743A_I2C_ADDRESS_1 IS31FL3743A_I2C_ADDRESS_GND_GND
+
#define RGB_MATRIX_LED_COUNT 64
#define CAPS_LOCK_INDEX 28
#define WIN_MOD_INDEX 16
diff --git a/keyboards/skyloong/gk61/pro/pro.c b/keyboards/skyloong/gk61/pro/pro.c
index 1936964b32..6240d9cead 100644
--- a/keyboards/skyloong/gk61/pro/pro.c
+++ b/keyboards/skyloong/gk61/pro/pro.c
@@ -6,7 +6,7 @@ int FN_MAC = 0;
int L_WIN = 0;
int L_MAC = 0;
-const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
+const is31fl3743a_led_t PROGMEM g_is31fl3743a_leds[IS31FL3743A_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
diff --git a/keyboards/skyloong/gk61/pro_48/config.h b/keyboards/skyloong/gk61/pro_48/config.h
index 4e8d9f0224..d446224cf1 100644
--- a/keyboards/skyloong/gk61/pro_48/config.h
+++ b/keyboards/skyloong/gk61/pro_48/config.h
@@ -3,6 +3,8 @@
#pragma once
+#define IS31FL3743A_I2C_ADDRESS_1 IS31FL3743A_I2C_ADDRESS_GND_GND
+
#define RGB_MATRIX_LED_COUNT 64
#define CAPS_LOCK_INDEX 28
#define WIN_MOD_INDEX 16
diff --git a/keyboards/skyloong/gk61/pro_48/pro_48.c b/keyboards/skyloong/gk61/pro_48/pro_48.c
index e4f64c022f..dc1058a08b 100644
--- a/keyboards/skyloong/gk61/pro_48/pro_48.c
+++ b/keyboards/skyloong/gk61/pro_48/pro_48.c
@@ -7,7 +7,7 @@ _Bool L_WIN = 0;
_Bool L_MAC = 0;
#if defined(RGB_MATRIX_ENABLE) /*&& defined(CAPS_LOCK_INDEX)*/
-const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
+const is31fl3743a_led_t PROGMEM g_is31fl3743a_leds[IS31FL3743A_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location