Fix #160: Increase output buffer for inverter list
This commit is contained in:
parent
53692bae34
commit
290932519c
@ -28,7 +28,7 @@ void WebApiInverterClass::loop()
|
|||||||
|
|
||||||
void WebApiInverterClass::onInverterList(AsyncWebServerRequest* request)
|
void WebApiInverterClass::onInverterList(AsyncWebServerRequest* request)
|
||||||
{
|
{
|
||||||
AsyncJsonResponse* response = new AsyncJsonResponse();
|
AsyncJsonResponse* response = new AsyncJsonResponse(false, 4096U);
|
||||||
JsonObject root = response->getRoot();
|
JsonObject root = response->getRoot();
|
||||||
JsonArray data = root.createNestedArray(F("inverter"));
|
JsonArray data = root.createNestedArray(F("inverter"));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user