diff --git a/wled00/image_loader.cpp b/wled00/image_loader.cpp index 7c782c59..cc0ba5b8 100644 --- a/wled00/image_loader.cpp +++ b/wled00/image_loader.cpp @@ -11,11 +11,7 @@ static File file; static char lastFilename[34] = "/"; -//#if !defined(BOARD_HAS_PSRAM) //removed, to avoid compilcations in external tools that assume WLED allows 320 pixels width -// static GifDecoder<256,256,11,true> decoder; // use less RAM on boards without PSRAM - avoids crashes due to out-of-memory -//#else - static GifDecoder<320,320,12,true> decoder; -//#endif +static GifDecoder<320,320,12,true> decoder; // this creates the basic object; parameter lzwMaxBits is not used; decoder.alloc() always allocated "everything else" = 24Kb static bool gifDecodeFailed = false; static unsigned long lastFrameDisplayTime = 0, currentFrameDelay = 0;