summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q10/config.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-09-13 22:47:01 +1000
committerGitHub <noreply@github.com>2023-09-13 22:47:01 +1000
commit35aceab1a48076a0c508c663781de30717518fcb (patch)
tree47bd321679fdfef535a9d8e7df0ddde854e80658 /keyboards/keychron/q10/config.h
parenteb2db05e8a7338568fea43b05822aa8089524f61 (diff)
ckled2001: driver naming cleanups (#21890)
Diffstat (limited to 'keyboards/keychron/q10/config.h')
-rw-r--r--keyboards/keychron/q10/config.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/keychron/q10/config.h b/keyboards/keychron/q10/config.h
index 0ef4edf245..6361990798 100644
--- a/keyboards/keychron/q10/config.h
+++ b/keyboards/keychron/q10/config.h
@@ -30,7 +30,7 @@
#define DIODE_DIRECTION ROW2COL
/* RGB Matrix Driver Configuration */
-#define DRIVER_COUNT 2
+#define CKLED2001_DRIVER_COUNT 2
#define DRIVER_ADDR_1 0b1110111
#define DRIVER_ADDR_2 0b1110100
@@ -41,8 +41,7 @@
#define I2C1_TIMINGR_SCLH 15U
#define I2C1_TIMINGR_SCLL 51U
-/* Scan phase of led driver set as MSKPHASE_9CHANNEL(defined as 0x03 in CKLED2001.h) */
-#define PHASE_CHANNEL MSKPHASE_9CHANNEL
+#define CKLED2001_PHASE_CHANNEL CKLED2001_MSKPHASE_9CHANNEL
#define CKLED2001_CURRENT_TUNE \
{ 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A, 0x98, 0x98, 0x4A }