Skip to content

Commit

Permalink
Remove temp workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Jul 31, 2023
1 parent 2b90079 commit 6be5360
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions wled00/FX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4192,12 +4192,7 @@ static const char _data_FX_MODE_WASHING_MACHINE[] PROGMEM = "Washing Machine@!,!
Draws a .gif image from filesystem on the matrix/strip
*/
uint16_t mode_image(void) {
SEGMENT.setUpLeds(); // temporary per-segment buffering
renderImageToSegment(SEGMENT);
for (uint16_t i = 0; i < SEGLEN; i++) {
SEGMENT.setPixelColor(i, SEGMENT.getPixelColor(i)); // temporary, refresh all LEDs for lossy ABL
}

return FRAMETIME;
}
static const char _data_FX_MODE_IMAGE[] PROGMEM = "Image@!,;;;12;sx=128";
Expand Down
1 change: 1 addition & 0 deletions wled00/image_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void endImagePlayback() {
delete decoder;
gifDecodeFailed = false;
activeSeg = nullptr;
lastFilename[0] = '\0';
}

#endif

0 comments on commit 6be5360

Please sign in to comment.