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/mt | |
parent | 74360d0a01d58baf68109f6380144c7f3c69ef91 (diff) |
Add and use I2C address defines for ISSI LED drivers (#22008)
Diffstat (limited to 'keyboards/mt')
-rw-r--r-- | keyboards/mt/mt64rgb/config.h | 2 | ||||
-rw-r--r-- | keyboards/mt/mt84/config.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/mt/mt64rgb/config.h b/keyboards/mt/mt64rgb/config.h index c15d1aedbc..d13942461f 100644 --- a/keyboards/mt/mt64rgb/config.h +++ b/keyboards/mt/mt64rgb/config.h @@ -22,7 +22,7 @@ #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 160 #define RGB_MATRIX_LED_PROCESS_LIMIT 20 #define RGB_MATRIX_LED_FLUSH_LIMIT 26 -#define DRIVER_ADDR_1 0b1010000 +#define DRIVER_ADDR_1 IS31FL3733_I2C_ADDRESS_GND_GND #define IS31FL3733_DRIVER_COUNT 1 #define RGB_MATRIX_LED_COUNT 64 diff --git a/keyboards/mt/mt84/config.h b/keyboards/mt/mt84/config.h index aba0632179..d76fdd262e 100644 --- a/keyboards/mt/mt84/config.h +++ b/keyboards/mt/mt84/config.h @@ -22,8 +22,8 @@ #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL #define RGB_MATRIX_LED_PROCESS_LIMIT 20 #define RGB_MATRIX_LED_FLUSH_LIMIT 26 - #define DRIVER_ADDR_1 0b1010000 - #define DRIVER_ADDR_2 0b1011111 + #define DRIVER_ADDR_1 IS31FL3737_I2C_ADDRESS_GND + #define DRIVER_ADDR_2 IS31FL3737_I2C_ADDRESS_VCC |