mirror of
https://github.com/wled/WLED.git
synced 2025-07-21 01:36:32 +00:00
Remove temp workaround
This commit is contained in:
parent
2b9007958b
commit
6be5360bdd
@ -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
|
Draws a .gif image from filesystem on the matrix/strip
|
||||||
*/
|
*/
|
||||||
uint16_t mode_image(void) {
|
uint16_t mode_image(void) {
|
||||||
SEGMENT.setUpLeds(); // temporary per-segment buffering
|
|
||||||
renderImageToSegment(SEGMENT);
|
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;
|
return FRAMETIME;
|
||||||
}
|
}
|
||||||
static const char _data_FX_MODE_IMAGE[] PROGMEM = "Image@!,;;;12;sx=128";
|
static const char _data_FX_MODE_IMAGE[] PROGMEM = "Image@!,;;;12;sx=128";
|
||||||
|
@ -127,6 +127,7 @@ void endImagePlayback() {
|
|||||||
delete decoder;
|
delete decoder;
|
||||||
gifDecodeFailed = false;
|
gifDecodeFailed = false;
|
||||||
activeSeg = nullptr;
|
activeSeg = nullptr;
|
||||||
|
lastFilename[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
x
Reference in New Issue
Block a user