diff options
author | Ryan <fauxpark@gmail.com> | 2024-02-09 22:37:18 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 22:37:18 +1100 |
commit | a5ea619139cb08f49cbfa440984ee2604f7104ba (patch) | |
tree | 3c74866000ad48901829c4bd60ef4b704a130f26 /keyboards/xelus/pachi/rgb/rev2 | |
parent | 137938b67afbf35fd34f2e5cbe3c5c6367a1d0cc (diff) |
LED drivers: place I2C addresses into an array (#22975)
Diffstat (limited to 'keyboards/xelus/pachi/rgb/rev2')
-rw-r--r-- | keyboards/xelus/pachi/rgb/rev2/rev2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/xelus/pachi/rgb/rev2/rev2.c b/keyboards/xelus/pachi/rgb/rev2/rev2.c index 25d1406653..f38d2c67b5 100644 --- a/keyboards/xelus/pachi/rgb/rev2/rev2.c +++ b/keyboards/xelus/pachi/rgb/rev2/rev2.c @@ -194,7 +194,7 @@ led_config_t g_led_config = { { static void init(void) { i2c_init(); - is31fl3741_init(IS31FL3741_I2C_ADDRESS_1); + is31fl3741_init(0); for (int index = 0; index < IS31FL3741_LED_COUNT; index++) { bool enabled = !( ( index == -1+0+13) || //A13 ( index == -1+13+3) || //B3 @@ -229,7 +229,7 @@ static void init(void) { ); is31fl3741_set_led_control_register(index, enabled, enabled, enabled); } - is31fl3741_update_led_control_registers(IS31FL3741_I2C_ADDRESS_1, 0); + is31fl3741_update_led_control_registers(0); } const rgb_matrix_driver_t rgb_matrix_driver = { |