aboutsummaryrefslogtreecommitdiff
path: root/keyboards/fallacy
diff options
context:
space:
mode:
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},