From 9d4d8562040e86adf243b6586816677b2a86bc30 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 11 Oct 2021 15:21:23 +1100 Subject: [PATCH 1/2] Fix misplaced endif in led_matrix_drivers.c --- quantum/led_matrix/led_matrix_drivers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/led_matrix/led_matrix_drivers.c b/quantum/led_matrix/led_matrix_drivers.c index efe0082dcb18..15fc183e52fe 100644 --- a/quantum/led_matrix/led_matrix_drivers.c +++ b/quantum/led_matrix/led_matrix_drivers.c @@ -136,7 +136,6 @@ static void flush(void) { # endif # endif # endif -# endif } const led_matrix_driver_t led_matrix_driver = { @@ -145,4 +144,5 @@ const led_matrix_driver_t led_matrix_driver = { .set_value = IS31FL3733_set_value, .set_value_all = IS31FL3733_set_value_all, }; +# endif #endif From dd4b3a4e72b39fc3c982f7863ea991842382050b Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 11 Oct 2021 15:27:25 +1100 Subject: [PATCH 2/2] clang-format thinks this is correct and consistent... --- quantum/led_matrix/led_matrix_drivers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quantum/led_matrix/led_matrix_drivers.c b/quantum/led_matrix/led_matrix_drivers.c index 15fc183e52fe..2157619a0bec 100644 --- a/quantum/led_matrix/led_matrix_drivers.c +++ b/quantum/led_matrix/led_matrix_drivers.c @@ -139,9 +139,9 @@ static void flush(void) { } const led_matrix_driver_t led_matrix_driver = { - .init = init, - .flush = flush, - .set_value = IS31FL3733_set_value, + .init = init, + .flush = flush, + .set_value = IS31FL3733_set_value, .set_value_all = IS31FL3733_set_value_all, }; # endif