[Keyboard] Fix IS31FL3741 driver flushin for Xelus pachi rgb (#14755)

master
Drashna Jaelre 2021-10-08 14:23:03 -07:00 committed by GitHub
parent 7205b70e84
commit f90d8b35f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -228,7 +228,11 @@ static void init(void) {
IS31FL3741_update_led_control_registers(DRIVER_ADDR_1, 0); 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 = { const rgb_matrix_driver_t rgb_matrix_driver = {
.init = init, .init = init,