Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Backlight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ void showBacklight(){
break;
case 255: //loop
fadeToBlackBy(backlight_leds, BACKLIGHT_NUM_LEDS , 255 - backlightBrightness );
backlight_leds[ledIndex[loopIndex++]] = backlight1;
loopIndex = (loopIndex + 1) % BACKLIGHT_NUM_LEDS;
backlight_leds[ledIndex[loopIndex]] = backlight1;
break;
default:
effectID=0; //in case it was invalid
Expand Down