Skip to content

Commit

Permalink
Remove lingering DRIVER_LED_TOTAL references (qmk#18594)
Browse files Browse the repository at this point in the history
  • Loading branch information
waffle87 authored and ramonimbao committed Nov 28, 2022
1 parent 170f6bc commit 54404a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/terrazzo/terrazzo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion keyboards/xbows/woody/woody.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "woody.h"
#ifdef RGB_MATRIX_ENABLE
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {

{0, C8_8, C7_8, C6_8}, // LA17
{0, C9_8, C7_7, C6_7}, // LA16
Expand Down

0 comments on commit 54404a0

Please sign in to comment.