Remove temp workaround

This commit is contained in:
cschwinne 2023-08-01 00:48:18 +02:00
parent 2b9007958b
commit 6be5360bdd
2 changed files with 1 additions and 5 deletions

View File

@ -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";

View File

@ -127,6 +127,7 @@ void endImagePlayback() {
delete decoder;
gifDecodeFailed = false;
activeSeg = nullptr;
lastFilename[0] = '\0';
}
#endif