diff options
author | Ryan <fauxpark@gmail.com> | 2023-09-13 22:47:01 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 22:47:01 +1000 |
commit | 35aceab1a48076a0c508c663781de30717518fcb (patch) | |
tree | 47bd321679fdfef535a9d8e7df0ddde854e80658 /keyboards/keychron/q0 | |
parent | eb2db05e8a7338568fea43b05822aa8089524f61 (diff) |
ckled2001: driver naming cleanups (#21890)
Diffstat (limited to 'keyboards/keychron/q0')
-rw-r--r-- | keyboards/keychron/q0/rev_0130/config.h | 2 | ||||
-rw-r--r-- | keyboards/keychron/q0/rev_0131/config.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/keychron/q0/rev_0130/config.h b/keyboards/keychron/q0/rev_0130/config.h index 12ecfe1356..ce4d510e10 100644 --- a/keyboards/keychron/q0/rev_0130/config.h +++ b/keyboards/keychron/q0/rev_0130/config.h @@ -17,7 +17,7 @@ #pragma once /* RGB Matrix Driver Configuration */ -#define DRIVER_COUNT 1 +#define CKLED2001_DRIVER_COUNT 1 #define DRIVER_ADDR_1 0b1110100 /* RGB Matrix Configuration */ diff --git a/keyboards/keychron/q0/rev_0131/config.h b/keyboards/keychron/q0/rev_0131/config.h index e4c5c2d3fc..214bfc3455 100644 --- a/keyboards/keychron/q0/rev_0131/config.h +++ b/keyboards/keychron/q0/rev_0131/config.h @@ -17,15 +17,14 @@ #pragma once /* RGB Matrix Driver Configuration */ -#define DRIVER_COUNT 1 +#define CKLED2001_DRIVER_COUNT 1 #define DRIVER_ADDR_1 0b1110111 /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 26 #define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL -/* 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 /* Enable num-lock LED */ #define NUM_LOCK_LED_INDEX 5 |