Browse Source

fix json reserved space was to small if 4 inverters were configured

pull/352/head^2
lumapu 2 years ago
parent
commit
af87365462
  1. 2
      tools/esp8266/webApi.cpp

2
tools/esp8266/webApi.cpp

@ -36,7 +36,7 @@ void webApi::loop(void) {
//-----------------------------------------------------------------------------
void webApi::onApi(AsyncWebServerRequest *request) {
AsyncJsonResponse* response = new AsyncJsonResponse(false, 4096);
AsyncJsonResponse* response = new AsyncJsonResponse(false, 8192);
JsonObject root = response->getRoot();
Inverter<> *iv = mApp->mSys->getInverterByPos(0, false);

Loading…
Cancel
Save