diff options
author | Ryan <fauxpark@gmail.com> | 2023-10-04 20:10:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 20:10:05 +1100 |
commit | c0f16be50fec33cdb30386ac512efb900f3f7470 (patch) | |
tree | 93bb5024f5ff32f81e86d3bf4ea4ff243e239c35 /keyboards/keychron/c2_pro/ansi/white | |
parent | 24a795d7a96722239be3a969201200602208aeb2 (diff) |
Rename CKLED2001 driver to SNLED27351 (#22071)
Diffstat (limited to 'keyboards/keychron/c2_pro/ansi/white')
-rw-r--r-- | keyboards/keychron/c2_pro/ansi/white/config.h | 6 | ||||
-rw-r--r-- | keyboards/keychron/c2_pro/ansi/white/info.json | 2 | ||||
-rw-r--r-- | keyboards/keychron/c2_pro/ansi/white/white.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/keychron/c2_pro/ansi/white/config.h b/keyboards/keychron/c2_pro/ansi/white/config.h index fb2ca3aa41..9945901527 100644 --- a/keyboards/keychron/c2_pro/ansi/white/config.h +++ b/keyboards/keychron/c2_pro/ansi/white/config.h @@ -17,11 +17,11 @@ #pragma once /* LED Matrix Driver Configuration */ -#define CKLED2001_DRIVER_COUNT 1 -#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_GND +#define SNLED27351_DRIVER_COUNT 1 +#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND /* Set LED driver current */ -#define CKLED2001_CURRENT_TUNE \ +#define SNLED27351_CURRENT_TUNE \ { 0xA0, 0xA0, 0xA0, 0xA0, 0xA0, 0xA0, 0xA0, 0xA0, 0xA0, 0xA0, 0xA0, 0xA0 } /* LED Matrix Configuration */ diff --git a/keyboards/keychron/c2_pro/ansi/white/info.json b/keyboards/keychron/c2_pro/ansi/white/info.json index dc58d1943b..4d9b1e12b8 100644 --- a/keyboards/keychron/c2_pro/ansi/white/info.json +++ b/keyboards/keychron/c2_pro/ansi/white/info.json @@ -122,7 +122,7 @@ } }, "led_matrix": { - "driver": "ckled2001", + "driver": "snled27351", "animations": { "none": true, "solid": true, diff --git a/keyboards/keychron/c2_pro/ansi/white/white.c b/keyboards/keychron/c2_pro/ansi/white/white.c index 963ac8755f..9c75e73c6d 100644 --- a/keyboards/keychron/c2_pro/ansi/white/white.c +++ b/keyboards/keychron/c2_pro/ansi/white/white.c @@ -18,8 +18,8 @@ // clang-format off #ifdef LED_MATRIX_ENABLE -const ckled2001_led PROGMEM g_ckled2001_leds[LED_MATRIX_LED_COUNT] = { -/* Refer to CKLED2001 manual for these locations +const snled27351_led_t PROGMEM g_snled27351_leds[LED_MATRIX_LED_COUNT] = { +/* Refer to SNLED27351 manual for these locations * driver * | LED address * | | */ |