diff options
author | Ryan <fauxpark@gmail.com> | 2023-11-01 11:53:45 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 00:53:45 +0000 |
commit | b52aca0af83fade24c56b4bb7369f18183123bd3 (patch) | |
tree | 9b553c4b771717cc334f3c8683052bc701472c4d /keyboards/tkc/portico75 | |
parent | eac8e6788871a087eafdc5492eee425a7205d727 (diff) |
Relocate LED driver init code (#22365)
Diffstat (limited to 'keyboards/tkc/portico75')
-rw-r--r-- | keyboards/tkc/portico75/config.h | 2 | ||||
-rw-r--r-- | keyboards/tkc/portico75/portico75.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/tkc/portico75/config.h b/keyboards/tkc/portico75/config.h index 756dfbb54a..3a9b50baca 100644 --- a/keyboards/tkc/portico75/config.h +++ b/keyboards/tkc/portico75/config.h @@ -81,7 +81,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // WT_RGB IS31FL3741 driver code # define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND # define IS31FL3741_DRIVER_COUNT 1 -# define RGB_MATRIX_LED_COUNT 98 +# define IS31FL3741_LED_COUNT 98 # define RGB_BACKLIGHT_ENABLED 1 diff --git a/keyboards/tkc/portico75/portico75.c b/keyboards/tkc/portico75/portico75.c index 69d6256071..f0751483aa 100644 --- a/keyboards/tkc/portico75/portico75.c +++ b/keyboards/tkc/portico75/portico75.c @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef RGB_MATRIX_ENABLE -const is31fl3741_led_t PROGMEM g_is31fl3741_leds[RGB_MATRIX_LED_COUNT] = { +const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = { {0, CS18_SW1, CS17_SW1, CS16_SW1}, {0, CS18_SW2, CS17_SW2, CS16_SW2}, {0, CS18_SW3, CS17_SW3, CS16_SW3}, |