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/drop | |
parent | 74360d0a01d58baf68109f6380144c7f3c69ef91 (diff) |
Add and use I2C address defines for ISSI LED drivers (#22008)
Diffstat (limited to 'keyboards/drop')
-rw-r--r-- | keyboards/drop/alt/v2/config.h | 4 | ||||
-rw-r--r-- | keyboards/drop/ctrl/v2/config.h | 4 | ||||
-rw-r--r-- | keyboards/drop/sense75/config.h | 4 | ||||
-rw-r--r-- | keyboards/drop/shift/v2/config.h | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/drop/alt/v2/config.h b/keyboards/drop/alt/v2/config.h index 8ab8d0fb38..31b8750155 100644 --- a/keyboards/drop/alt/v2/config.h +++ b/keyboards/drop/alt/v2/config.h @@ -14,8 +14,8 @@ #define EXTERNAL_EEPROM_WP_PIN B5 #define EEPROM_I2C_24LC256 -#define DRIVER_ADDR_1 0b1010011 -#define DRIVER_ADDR_2 0b1011111 +#define DRIVER_ADDR_1 IS31FL3733_I2C_ADDRESS_GND_VCC +#define DRIVER_ADDR_2 IS31FL3733_I2C_ADDRESS_VCC_VCC #define IS31FL3733_DRIVER_COUNT 2 #define RGB_MATRIX_LED_COUNT 111 #define IS31FL3733_PWM_FREQUENCY IS31FL3733_PWM_FREQUENCY_26K7_HZ diff --git a/keyboards/drop/ctrl/v2/config.h b/keyboards/drop/ctrl/v2/config.h index 51990d856b..f3292bcb9c 100644 --- a/keyboards/drop/ctrl/v2/config.h +++ b/keyboards/drop/ctrl/v2/config.h @@ -14,8 +14,8 @@ #define EXTERNAL_EEPROM_WP_PIN B5 #define EEPROM_I2C_24LC256 -#define DRIVER_ADDR_1 0b1010011 -#define DRIVER_ADDR_2 0b1011111 +#define DRIVER_ADDR_1 IS31FL3733_I2C_ADDRESS_GND_VCC +#define DRIVER_ADDR_2 IS31FL3733_I2C_ADDRESS_VCC_VCC #define IS31FL3733_DRIVER_COUNT 2 #define RGB_MATRIX_LED_COUNT 119 #define IS31FL3733_PWM_FREQUENCY IS31FL3733_PWM_FREQUENCY_26K7_HZ diff --git a/keyboards/drop/sense75/config.h b/keyboards/drop/sense75/config.h index 6d2d50e541..70e425eb74 100644 --- a/keyboards/drop/sense75/config.h +++ b/keyboards/drop/sense75/config.h @@ -9,8 +9,8 @@ #define EXTERNAL_EEPROM_WP_PIN B7 #define EEPROM_I2C_24LC256 -#define DRIVER_ADDR_1 0b1010000 -#define DRIVER_ADDR_2 0b1011111 +#define DRIVER_ADDR_1 IS31FL3733_I2C_ADDRESS_GND_GND +#define DRIVER_ADDR_2 IS31FL3733_I2C_ADDRESS_VCC_VCC #define IS31FL3733_DRIVER_COUNT 2 #define RGB_MATRIX_LED_COUNT 111 #define IS31FL3733_PWM_FREQUENCY IS31FL3733_PWM_FREQUENCY_26K7_HZ diff --git a/keyboards/drop/shift/v2/config.h b/keyboards/drop/shift/v2/config.h index 7334585d16..29b77cba9b 100644 --- a/keyboards/drop/shift/v2/config.h +++ b/keyboards/drop/shift/v2/config.h @@ -14,9 +14,9 @@ #define EXTERNAL_EEPROM_WP_PIN B5 #define EEPROM_I2C_24LC256 -#define DRIVER_ADDR_1 0b1010011 -#define DRIVER_ADDR_2 0b1011111 -#define DRIVER_ADDR_3 0b1010000 +#define DRIVER_ADDR_1 IS31FL3733_I2C_ADDRESS_GND_VCC +#define DRIVER_ADDR_2 IS31FL3733_I2C_ADDRESS_VCC_VCC +#define DRIVER_ADDR_3 IS31FL3733_I2C_ADDRESS_GND_GND #define IS31FL3733_DRIVER_COUNT 3 #define RGB_MATRIX_LED_COUNT 166 #define IS31FL3733_PWM_FREQUENCY IS31FL3733_PWM_FREQUENCY_26K7_HZ |