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/melgeek/mach80 | |
parent | 137938b67afbf35fd34f2e5cbe3c5c6367a1d0cc (diff) |
LED drivers: place I2C addresses into an array (#22975)
Diffstat (limited to 'keyboards/melgeek/mach80')
-rwxr-xr-x | keyboards/melgeek/mach80/rev1/rev1.c | 2 | ||||
-rwxr-xr-x | keyboards/melgeek/mach80/rev2/rev2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/melgeek/mach80/rev1/rev1.c b/keyboards/melgeek/mach80/rev1/rev1.c index 97744bd824..c09833bbaf 100755 --- a/keyboards/melgeek/mach80/rev1/rev1.c +++ b/keyboards/melgeek/mach80/rev1/rev1.c @@ -179,7 +179,7 @@ void matrix_init_kb(void) { is31fl3741_set_scaling_registers(&led, 0xFF, 0xFF, 0xFF); } - is31fl3741_update_led_control_registers(IS31FL3741_I2C_ADDRESS_1, 0); + is31fl3741_update_led_control_registers(0); matrix_init_user(); } diff --git a/keyboards/melgeek/mach80/rev2/rev2.c b/keyboards/melgeek/mach80/rev2/rev2.c index 5fcc84e947..1729d608c0 100755 --- a/keyboards/melgeek/mach80/rev2/rev2.c +++ b/keyboards/melgeek/mach80/rev2/rev2.c @@ -177,7 +177,7 @@ void matrix_init_kb(void) { is31fl3741_set_scaling_registers(&led, 0xFF, 0xFF, 0xFF); } - is31fl3741_update_led_control_registers(IS31FL3741_I2C_ADDRESS_1, 0); + is31fl3741_update_led_control_registers(0); matrix_init_user(); } |