summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-10-17 14:29:19 -0700
committerGitHub <noreply@github.com>2022-10-18 08:29:19 +1100
commite59cb51be01cf0428524596490eb1bff91e566bd (patch)
tree08128baca5b4bd24bb33e3d0c49514307fe1e542 /quantum/rgb_matrix
parent9d4c4ceee13bfa229de6be2255e83c9c324259d6 (diff)
[CI] Format code according to conventions (#18756)
Diffstat (limited to 'quantum/rgb_matrix')
-rw-r--r--quantum/rgb_matrix/rgb_matrix_drivers.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c
index b4d23f8201..5b81915845 100644
--- a/quantum/rgb_matrix/rgb_matrix_drivers.c
+++ b/quantum/rgb_matrix/rgb_matrix_drivers.c
@@ -76,12 +76,12 @@ static void init(void) {
IS31FL3737_init(DRIVER_ADDR_1);
# if defined(DRIVER_ADDR_2)
IS31FL3737_init(DRIVER_ADDR_2);
-# if defined(DRIVER_ADDR_3)
+# if defined(DRIVER_ADDR_3)
IS31FL3737_init(DRIVER_ADDR_3);
-# if defined(DRIVER_ADDR_4)
+# if defined(DRIVER_ADDR_4)
IS31FL3737_init(DRIVER_ADDR_4);
-# endif
-# endif
+# endif
+# endif
# endif
# elif defined(IS31FL3741)
@@ -160,12 +160,12 @@ static void init(void) {
IS31FL3737_update_led_control_registers(DRIVER_ADDR_1, 0);
# if defined(DRIVER_ADDR_2)
IS31FL3737_update_led_control_registers(DRIVER_ADDR_2, 1);
-# if defined(DRIVER_ADDR_3)
+# if defined(DRIVER_ADDR_3)
IS31FL3737_update_led_control_registers(DRIVER_ADDR_3, 2);
-# if defined(DRIVER_ADDR_4)
+# if defined(DRIVER_ADDR_4)
IS31FL3737_update_led_control_registers(DRIVER_ADDR_4, 3);
-# endif
-# endif
+# endif
+# endif
# endif
# elif defined(IS31FL3741)
@@ -247,12 +247,12 @@ static void flush(void) {
IS31FL3737_update_pwm_buffers(DRIVER_ADDR_1, 0);
# if defined(DRIVER_ADDR_2)
IS31FL3737_update_pwm_buffers(DRIVER_ADDR_2, 1);
-# if defined(DRIVER_ADDR_3)
+# if defined(DRIVER_ADDR_3)
IS31FL3737_update_pwm_buffers(DRIVER_ADDR_3, 2);
-# if defined(DRIVER_ADDR_4)
+# if defined(DRIVER_ADDR_4)
IS31FL3737_update_pwm_buffers(DRIVER_ADDR_4, 3);
-# endif
-# endif
+# endif
+# endif
# endif
}