From 9ee12820197f38f6618b78f92481f3ffd2d8b7e5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 15 Feb 2021 11:55:13 +1100 Subject: LED Matrix: rename `LED_DRIVER_LED_COUNT` to `DRIVER_LED_TOTAL` (#11858) --- keyboards/fallacy/indicators.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/fallacy/indicators.c') 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}, -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/e0200000.lock: Permission denied (13)