diff options
author | jack <0x6A73@pm.me> | 2022-10-04 18:38:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-05 01:38:19 +0100 |
commit | bb4740d95bdbcc27c8156003d915dc14710faf7f (patch) | |
tree | 562bd156303d0f176336d6cf11765fc835da3759 /keyboards | |
parent | b3211c106cbab18fdf96c1f5ee8db76f2135d1db (diff) |
Remove lingering DRIVER_LED_TOTAL references (#18594)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/terrazzo/terrazzo.c | 2 | ||||
-rw-r--r-- | keyboards/xbows/woody/woody.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; diff --git a/keyboards/xbows/woody/woody.c b/keyboards/xbows/woody/woody.c index ebfd55ae85..1f85907f95 100644 --- a/keyboards/xbows/woody/woody.c +++ b/keyboards/xbows/woody/woody.c @@ -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 |