diff options
author | Ryan <fauxpark@gmail.com> | 2023-10-21 21:41:59 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-21 21:41:59 +1000 |
commit | d56ee70c524b4fc4d1638e5e8c4bdeb89e752993 (patch) | |
tree | 68f890de77cbf2750462def33a3ac5d3de11a8c2 /keyboards/keychron/c1_pro/ansi | |
parent | 3f1b3a512532b8e6ebd2f73df5222ae146b1f490 (diff) |
Rename `DRIVER_ADDR_n` defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
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 f2779f2bb9..ce9d46cad2 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 SNLED27351_DRIVER_COUNT 2 -#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_VDDIO -#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_GND +#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_VDDIO +#define SNLED27351_I2C_ADDRESS_2 SNLED27351_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 430cb68a8e..17c415153b 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 SNLED27351_DRIVER_COUNT 1 -#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND +#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND /* LED Matrix Configuration */ #define LED_MATRIX_LED_COUNT 90 |