summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q10/config.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-04 20:10:05 +1100
committerGitHub <noreply@github.com>2023-10-04 20:10:05 +1100
commitc0f16be50fec33cdb30386ac512efb900f3f7470 (patch)
tree93bb5024f5ff32f81e86d3bf4ea4ff243e239c35 /keyboards/keychron/q10/config.h
parent24a795d7a96722239be3a969201200602208aeb2 (diff)
Rename CKLED2001 driver to SNLED27351 (#22071)
Diffstat (limited to 'keyboards/keychron/q10/config.h')
-rw-r--r--keyboards/keychron/q10/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/keychron/q10/config.h b/keyboards/keychron/q10/config.h
index 3a0d613510..b31322464e 100644
--- a/keyboards/keychron/q10/config.h
+++ b/keyboards/keychron/q10/config.h
@@ -30,9 +30,9 @@
#define DIODE_DIRECTION ROW2COL
/* RGB Matrix Driver Configuration */
-#define CKLED2001_DRIVER_COUNT 2
-#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_VDDIO
-#define DRIVER_ADDR_2 CKLED2001_I2C_ADDRESS_GND
+#define SNLED27351_DRIVER_COUNT 2
+#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_VDDIO
+#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_GND
/* Increase I2C speed to 1000 KHz */
#define I2C1_TIMINGR_PRESC 0U
@@ -41,8 +41,8 @@
#define I2C1_TIMINGR_SCLH 15U
#define I2C1_TIMINGR_SCLL 51U
-#define CKLED2001_PHASE_CHANNEL CKLED2001_MSKPHASE_9CHANNEL
-#define CKLED2001_CURRENT_TUNE \
+#define SNLED27351_PHASE_CHANNEL SNLED27351_MSKPHASE_9CHANNEL
+#define SNLED27351_CURRENT_TUNE \
{ 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A }
/* DIP switch */