Browse Source

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

pull/14761/head
Drashna Jaelre 2 years ago
committed by GitHub
parent
commit
f90d8b35f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      keyboards/xelus/pachi/rgb/rgb.c

+ 5
- 1
keyboards/xelus/pachi/rgb/rgb.c View File

@ -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,


Loading…
Cancel
Save