diff options
author | Ryan <fauxpark@gmail.com> | 2023-09-19 19:31:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-19 19:31:54 +1000 |
commit | 8f221052897754870e5c08a2de92c24d20cd307e (patch) | |
tree | fe853aa394ae9d07f593446ce87a01b334f3bbea /keyboards/keychron/c1_pro/ansi | |
parent | 74360d0a01d58baf68109f6380144c7f3c69ef91 (diff) |
Add and use I2C address defines for ISSI LED drivers (#22008)
Diffstat (limited to 'keyboards/keychron/c1_pro/ansi')
-rw-r--r-- | keyboards/keychron/c1_pro/ansi/rgb/config.h | 4 | ||||
-rw-r--r-- | keyboards/keychron/c1_pro/ansi/white/config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/keychron/c1_pro/ansi/rgb/config.h b/keyboards/keychron/c1_pro/ansi/rgb/config.h index cc95a6b45c..c6b63b4d7c 100644 --- a/keyboards/keychron/c1_pro/ansi/rgb/config.h +++ b/keyboards/keychron/c1_pro/ansi/rgb/config.h @@ -21,8 +21,8 @@ /* RGB Matrix Driver Configuration */ #define CKLED2001_DRIVER_COUNT 2 -#define DRIVER_ADDR_1 0b1110111 -#define DRIVER_ADDR_2 0b1110100 +#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_VDDIO +#define DRIVER_ADDR_2 CKLED2001_I2C_ADDRESS_GND /* RGB Matrix Configuration */ #define DRIVER_1_LED_TOTAL 49 diff --git a/keyboards/keychron/c1_pro/ansi/white/config.h b/keyboards/keychron/c1_pro/ansi/white/config.h index 898f59cdca..5492eca28f 100644 --- a/keyboards/keychron/c1_pro/ansi/white/config.h +++ b/keyboards/keychron/c1_pro/ansi/white/config.h @@ -21,7 +21,7 @@ /* LED Matrix Driver Configuration */ #define CKLED2001_DRIVER_COUNT 1 -#define DRIVER_ADDR_1 0b1110100 +#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_GND /* LED Matrix Configuration */ #define LED_MATRIX_LED_COUNT 90 |