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/c2_pro/ansi | |
parent | 3f1b3a512532b8e6ebd2f73df5222ae146b1f490 (diff) |
Rename `DRIVER_ADDR_n` defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/keychron/c2_pro/ansi')
-rw-r--r-- | keyboards/keychron/c2_pro/ansi/rgb/config.h | 4 | ||||
-rw-r--r-- | keyboards/keychron/c2_pro/ansi/white/config.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/keychron/c2_pro/ansi/rgb/config.h b/keyboards/keychron/c2_pro/ansi/rgb/config.h index 673e8e438e..25be9ae686 100644 --- a/keyboards/keychron/c2_pro/ansi/rgb/config.h +++ b/keyboards/keychron/c2_pro/ansi/rgb/config.h @@ -18,8 +18,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 /* Set LED driver current */ #define SNLED27351_CURRENT_TUNE \ diff --git a/keyboards/keychron/c2_pro/ansi/white/config.h b/keyboards/keychron/c2_pro/ansi/white/config.h index 9945901527..9e09bf40ea 100644 --- a/keyboards/keychron/c2_pro/ansi/white/config.h +++ b/keyboards/keychron/c2_pro/ansi/white/config.h @@ -18,7 +18,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 /* Set LED driver current */ #define SNLED27351_CURRENT_TUNE \ |