more JSON buffer for boards with PSRAM

allows to load ledmaps with > 15000 positions!
This commit is contained in:
Frank
2023-04-20 00:34:01 +02:00
parent bcbc0fbda4
commit 1b3d9a1a53

View File

@@ -407,7 +407,11 @@
#ifdef ESP8266
#define JSON_BUFFER_SIZE 10240
#else
#if defined(BOARD_HAS_PSRAM) && (defined(WLED_USE_PSRAM) || defined(WLED_USE_PSRAM_JSON))
#define JSON_BUFFER_SIZE 60000
#else
#define JSON_BUFFER_SIZE 24576
#endif
#endif
//#define MIN_HEAP_SIZE (8k for AsyncWebServer)