mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-29 18:26:21 +02:00
fix json reserved space was to small if 4 inverters were configured
This commit is contained in:
parent
46c3d85936
commit
af87365462
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ void webApi::loop(void) {
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void webApi::onApi(AsyncWebServerRequest *request) {
|
void webApi::onApi(AsyncWebServerRequest *request) {
|
||||||
AsyncJsonResponse* response = new AsyncJsonResponse(false, 4096);
|
AsyncJsonResponse* response = new AsyncJsonResponse(false, 8192);
|
||||||
JsonObject root = response->getRoot();
|
JsonObject root = response->getRoot();
|
||||||
|
|
||||||
Inverter<> *iv = mApp->mSys->getInverterByPos(0, false);
|
Inverter<> *iv = mApp->mSys->getInverterByPos(0, false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue