Skip to content

Commit 1324d49

Browse files
committed
revert smaller gif size limits for board without PSRAM
see discussion in PR#5040
1 parent 79a52a6 commit 1324d49

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wled00/image_loader.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
static File file;
1313
static char lastFilename[34] = "/";
14-
#if !defined(BOARD_HAS_PSRAM)
15-
static GifDecoder<256,256,11,true> decoder; // use less RAM on boards without PSRAM - avoids crashes due to out-of-memory
16-
#else
14+
//#if !defined(BOARD_HAS_PSRAM) //removed, to avoid compilcations in external tools that assume WLED allows 320 pixels width
15+
// static GifDecoder<256,256,11,true> decoder; // use less RAM on boards without PSRAM - avoids crashes due to out-of-memory
16+
//#else
1717
static GifDecoder<320,320,12,true> decoder;
18-
#endif
18+
//#endif
1919
static bool gifDecodeFailed = false;
2020
static unsigned long lastFrameDisplayTime = 0, currentFrameDelay = 0;
2121

0 commit comments

Comments
 (0)