diff options
author | QMK Bot <[email protected]> | 2021-09-15 17:07:47 +0000 |
---|---|---|
committer | QMK Bot <[email protected]> | 2021-09-15 17:07:47 +0000 |
commit | bf23e4647b8708187c6580d12acc8e08a9362ecc (patch) | |
tree | 695fd03e8c2c541c1883022385435575dc5a261f /quantum | |
parent | 83988597f4d916a37b2b0987f393ceaa007532eb (diff) | |
parent | 169d5bd21d9381843914b4c23cbca1b447e905c6 (diff) | |
download | qmk_firmware-bf23e4647b8708187c6580d12acc8e08a9362ecc.tar.gz qmk_firmware-bf23e4647b8708187c6580d12acc8e08a9362ecc.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/rgb_matrix/rgb_matrix_drivers.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c index bfaedaa4a0..2cec162e22 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix/rgb_matrix_drivers.c @@ -172,7 +172,12 @@ const rgb_matrix_driver_t rgb_matrix_driver = { .set_color_all = IS31FL3737_set_color_all, }; # else -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); +# if defined(DRIVER_ADDR_2) && (DRIVER_ADDR_2 != DRIVER_ADDR_1) // provides backward compatibility + IS31FL3741_update_pwm_buffers(DRIVER_ADDR_2, 1); +# endif +} const rgb_matrix_driver_t rgb_matrix_driver = { .init = init, |