summaryrefslogtreecommitdiff
path: root/keyboards/xelus/pachi/rgb
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-10-08 14:23:03 -0700
committerGitHub <noreply@github.com>2021-10-08 22:23:03 +0100
commitf90d8b35f2c3ec1262db719bd66bcad6ef6f2773 (patch)
treeb7a1fa9e4ea9f96f9f9edac1ba62f0e62bf1b7ff /keyboards/xelus/pachi/rgb
parent7205b70e84dae72d03fcc2e127a9e1f2bc0acf09 (diff)
[Keyboard] Fix IS31FL3741 driver flushin for Xelus pachi rgb (#14755)
Diffstat (limited to 'keyboards/xelus/pachi/rgb')
-rw-r--r--keyboards/xelus/pachi/rgb/rgb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/xelus/pachi/rgb/rgb.c b/keyboards/xelus/pachi/rgb/rgb.c
index 6f44b13e12..4f2f2c7b77 100644
--- a/keyboards/xelus/pachi/rgb/rgb.c
+++ b/keyboards/xelus/pachi/rgb/rgb.c
@@ -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,