summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q9_plus/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/q9_plus/config.h
parent24a795d7a96722239be3a969201200602208aeb2 (diff)
Rename CKLED2001 driver to SNLED27351 (#22071)
Diffstat (limited to 'keyboards/keychron/q9_plus/config.h')
-rwxr-xr-xkeyboards/keychron/q9_plus/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/keychron/q9_plus/config.h b/keyboards/keychron/q9_plus/config.h
index a8cba07e90..8416de0d6a 100755
--- a/keyboards/keychron/q9_plus/config.h
+++ b/keyboards/keychron/q9_plus/config.h
@@ -23,8 +23,8 @@
#define DIP_SWITCH_MATRIX_GRID {{ 3, 4 }}
/* RGB Matrix Driver Configuration */
-#define DRIVER_COUNT 1
-#define DRIVER_ADDR_1 0b1110100
+#define SNLED27351_DRIVER_COUNT 1
+#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
/* Increase I2C speed to 1000 KHz */
#define I2C1_TIMINGR_PRESC 0U
@@ -34,7 +34,7 @@
#define I2C1_TIMINGR_SCLL 51U
/* Set LED driver current */
-#define CKLED2001_CURRENT_TUNE \
+#define SNLED27351_CURRENT_TUNE \
{ 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70, 0xF8, 0xF8, 0x70 }
/* turn off effects when suspended */