From bb4740d95bdbcc27c8156003d915dc14710faf7f Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Tue, 4 Oct 2022 18:38:19 -0600 Subject: Remove lingering DRIVER_LED_TOTAL references (#18594) --- keyboards/terrazzo/terrazzo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keyboards/terrazzo') diff --git a/keyboards/terrazzo/terrazzo.c b/keyboards/terrazzo/terrazzo.c index 8e3678035c..cc62225de7 100644 --- a/keyboards/terrazzo/terrazzo.c +++ b/keyboards/terrazzo/terrazzo.c @@ -117,7 +117,7 @@ void terrazzo_scroll_pixel(bool clockwise) { terrazzo_led_index = terrazzo_led_index - 1; } - if (terrazzo_led_index >= DRIVER_LED_TOTAL) { + if (terrazzo_led_index >= LED_MATRIX_LED_COUNT) { terrazzo_led_index = 0; } else if (terrazzo_led_index <= 0 ) { terrazzo_led_index = LED_MATRIX_LED_COUNT - 1; -- cgit v1.2.3