Skip to content

Commit

Permalink
Fix flickering of carousel. Fixes issue ThingPulse/esp8266-weather-st…
Browse files Browse the repository at this point in the history
  • Loading branch information
squix78 committed Mar 20, 2019
1 parent 21064ff commit 9cfe942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Carousel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ int8_t Carousel::update(){

this->state.lastUpdate = frameStart;
this->tick();
} else {
this->drawFrame();
}
return this->updateInterval - (millis() - frameStart);
}
Expand Down

0 comments on commit 9cfe942

Please sign in to comment.