Skip to content

Commit 9cfe942

Browse files
committed
Fix flickering of carousel. Fixes issue ThingPulse/esp8266-weather-station-color#97
1 parent 21064ff commit 9cfe942

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Carousel.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ int8_t Carousel::update(){
202202

203203
this->state.lastUpdate = frameStart;
204204
this->tick();
205+
} else {
206+
this->drawFrame();
205207
}
206208
return this->updateInterval - (millis() - frameStart);
207209
}

0 commit comments

Comments
 (0)