Skip to content

Commit

Permalink
[Keyboard] Fix IS31FL3741 driver flushin for Xelus pachi rgb (qmk#14755)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Oct 8, 2021
1 parent 7205b70 commit f90d8b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion keyboards/xelus/pachi/rgb/rgb.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@ static void init(void) {
IS31FL3741_update_led_control_registers(DRIVER_ADDR_1, 0);
}

static void flush(void) { IS31FL3741_update_pwm_buffers(DRIVER_ADDR_1, DRIVER_ADDR_2); }
static void flush(void) {
IS31FL3741_update_pwm_buffers(DRIVER_ADDR_1, 0);
// Just for reference. Only first driver is used?
// IS31FL3741_update_pwm_buffers(DRIVER_ADDR_2, 1);
}

const rgb_matrix_driver_t rgb_matrix_driver = {
.init = init,
Expand Down

0 comments on commit f90d8b3

Please sign in to comment.