Skip to content

Commit

Permalink
blend colors in fluid transition
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinschumacher committed May 27, 2020
1 parent 6e37e7f commit 01f612c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ void renderSecondHand()
upcomingPixelColor = DimColor(100 - percent, secondColor);

uint8_t nextPixel = (secondHand + 1) % 60;
setPixel(secondHand, currentPixelColor, false);
setPixel(nextPixel, upcomingPixelColor, false);
setPixel(secondHand, currentPixelColor, config.config.blendColors);
setPixel(nextPixel, upcomingPixelColor, config.config.blendColors);
}
else
{
Expand Down

0 comments on commit 01f612c

Please sign in to comment.