aboutsummaryrefslogtreecommitdiff
path: root/keyboards/fallacy
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-02-15 11:55:13 +1100
committerGitHub <noreply@github.com>2021-02-15 11:55:13 +1100
commit9ee12820197f38f6618b78f92481f3ffd2d8b7e5 (patch)
treed3a35c71242cbfff2868ce85d5348ccb8a68a489 /keyboards/fallacy
parent6f44c2ec31a6aeacd9e90060a9670be03be372fe (diff)
downloadqmk_firmware-9ee12820197f38f6618b78f92481f3ffd2d8b7e5.tar.gz
qmk_firmware-9ee12820197f38f6618b78f92481f3ffd2d8b7e5.zip
LED Matrix: rename `LED_DRIVER_LED_COUNT` to `DRIVER_LED_TOTAL` (#11858)
Diffstat (limited to 'keyboards/fallacy')
-rwxr-xr-xkeyboards/fallacy/config.h2
-rwxr-xr-xkeyboards/fallacy/indicators.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/fallacy/config.h b/keyboards/fallacy/config.h
index 559b6292b..379d25d9d 100755
--- a/keyboards/fallacy/config.h
+++ b/keyboards/fallacy/config.h
@@ -45,7 +45,7 @@
45 */ 45 */
46#define LED_DRIVER_ADDR_1 0b1110100 46#define LED_DRIVER_ADDR_1 0b1110100
47#define LED_DRIVER_COUNT 1 47#define LED_DRIVER_COUNT 1
48#define LED_DRIVER_LED_COUNT 3 48#define DRIVER_LED_TOTAL 3
49 49
50/* Set 0 if debouncing isn't needed 50/* Set 0 if debouncing isn't needed
51 */ 51 */
diff --git a/keyboards/fallacy/indicators.c b/keyboards/fallacy/indicators.c
index deda752fa..6c80f3167 100755
--- a/keyboards/fallacy/indicators.c
+++ b/keyboards/fallacy/indicators.c
@@ -25,7 +25,7 @@ void init_fallacy_leds(void) {
25 i2c_init(); 25 i2c_init();
26 IS31FL3731_init(LED_DRIVER_ADDR_1); 26 IS31FL3731_init(LED_DRIVER_ADDR_1);
27 27
28 for (int i = 0; i < LED_DRIVER_LED_COUNT; i++) { 28 for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
29 IS31FL3731_set_led_control_register(i, true); 29 IS31FL3731_set_led_control_register(i, true);
30 } 30 }
31 31
@@ -54,7 +54,7 @@ void set_fallacy_led(int index, bool state) {
54 54
55/* define LED matrix 55/* define LED matrix
56 */ 56 */
57const is31_led g_is31_leds[LED_DRIVER_LED_COUNT] = { 57const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
58 {0, C1_1}, 58 {0, C1_1},
59 {0, C2_1}, 59 {0, C2_1},
60 {0, C3_1}, 60 {0, C3_1},