aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/rgb_matrix_drivers.c
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-06-22 11:21:48 +1000
committerGitHub <noreply@github.com>2020-06-22 11:21:48 +1000
commit3d6d89966614be1e80d9957fb83743934c5eb162 (patch)
treea1c467283575fa7a596c27c0794a34347662f371 /quantum/rgb_matrix_drivers.c
parentcb13dd0a33c153d8cb0a26596489804c012eaae4 (diff)
downloadfirmware-3d6d89966614be1e80d9957fb83743934c5eb162.tar.gz
firmware-3d6d89966614be1e80d9957fb83743934c5eb162.tar.bz2
firmware-3d6d89966614be1e80d9957fb83743934c5eb162.zip
`qmk cformat` (#9500)
Diffstat (limited to 'quantum/rgb_matrix_drivers.c')
-rw-r--r--quantum/rgb_matrix_drivers.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/rgb_matrix_drivers.c b/quantum/rgb_matrix_drivers.c
index 222593608..37bc20ef5 100644
--- a/quantum/rgb_matrix_drivers.c
+++ b/quantum/rgb_matrix_drivers.c
@@ -23,7 +23,7 @@
* be here if shared between boards.
*/
-#if defined(IS31FL3731) || defined(IS31FL3733) || defined(IS31FL3737) || defined(IS31FL3741)
+#if defined(IS31FL3731) || defined(IS31FL3733) || defined(IS31FL3737) || defined(IS31FL3741)
# include "i2c_master.h"
@@ -100,9 +100,7 @@ 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, DRIVER_ADDR_2); }
const rgb_matrix_driver_t rgb_matrix_driver = {
.init = init,