mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-07-30 18:42:55 +00:00
large jsondocs in PSRAM
This commit is contained in:
@@ -50,7 +50,7 @@ void WebModulesService::loop() {
|
||||
// it adds data to an empty 'root' json object
|
||||
// and also calls when the Modules web page is refreshed/loaded
|
||||
void WebModules::read(WebModules & webModules, JsonObject root) {
|
||||
JsonDocument doc_modules;
|
||||
JsonDocument doc_modules(PSRAM_DOC);
|
||||
auto root_modules = doc_modules.to<JsonObject>();
|
||||
moduleLibrary.list(root_modules); // get list the external library modules, put in a json object
|
||||
|
||||
|
||||
Reference in New Issue
Block a user