Remove lingering DRIVER_LED_TOTAL references (#18594)
This commit is contained in:
parent
b3211c106c
commit
bb4740d95b
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue