summaryrefslogtreecommitdiff
path: root/keyboards/fallacy
diff options
context:
space:
mode:
authorJoshua Diamond <josh@windowoffire.com>2021-02-14 20:26:22 -0500
committerJoshua Diamond <josh@windowoffire.com>2021-02-14 20:26:22 -0500
commit0b63fb5e819495f4515001cd367a279eaf9eaaa2 (patch)
tree492c2b5de31d6ee1176371829b10a8fb419b4f8d /keyboards/fallacy
parent328a8322f4134fdec2f29b8dd58501c99b4de876 (diff)
parent9ee12820197f38f6618b78f92481f3ffd2d8b7e5 (diff)
downloadqmk_firmware-0b63fb5e819495f4515001cd367a279eaf9eaaa2.tar.gz
qmk_firmware-0b63fb5e819495f4515001cd367a279eaf9eaaa2.zip
Merge branch 'master' into develop
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 559b6292b4..379d25d9db 100755
--- a/keyboards/fallacy/config.h
+++ b/keyboards/fallacy/config.h
@@ -45,7 +45,7 @@
*/
#define LED_DRIVER_ADDR_1 0b1110100
#define LED_DRIVER_COUNT 1
-#define LED_DRIVER_LED_COUNT 3
+#define DRIVER_LED_TOTAL 3
/* Set 0 if debouncing isn't needed
*/
diff --git a/keyboards/fallacy/indicators.c b/keyboards/fallacy/indicators.c
index deda752faa..6c80f31678 100755
--- a/keyboards/fallacy/indicators.c
+++ b/keyboards/fallacy/indicators.c
@@ -25,7 +25,7 @@ void init_fallacy_leds(void) {
i2c_init();
IS31FL3731_init(LED_DRIVER_ADDR_1);
- for (int i = 0; i < LED_DRIVER_LED_COUNT; i++) {
+ for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
IS31FL3731_set_led_control_register(i, true);
}
@@ -54,7 +54,7 @@ void set_fallacy_led(int index, bool state) {
/* define LED matrix
*/
-const is31_led g_is31_leds[LED_DRIVER_LED_COUNT] = {
+const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
{0, C1_1},
{0, C2_1},
{0, C3_1},