File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class WebThingAdapter {
99
99
void handleThings (AsyncWebServerRequest *request) {
100
100
AsyncResponseStream *response = request->beginResponseStream (" application/json" );
101
101
102
- StaticJsonBuffer<1024 > buf;
102
+ StaticJsonBuffer<2048 > buf;
103
103
JsonArray& things = buf.createArray ();
104
104
ThingDevice* device = this ->firstDevice ;
105
105
while (device != nullptr ) {
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class WebThingAdapter {
89
89
}
90
90
91
91
void handleThings () {
92
- StaticJsonBuffer<1024 > buf;
92
+ StaticJsonBuffer<2048 > buf;
93
93
JsonArray& things = buf.createArray ();
94
94
ThingDevice* device = this ->firstDevice ;
95
95
while (device != nullptr ) {
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ class WebThingAdapter {
239
239
sendOk ();
240
240
sendHeaders ();
241
241
242
- StaticJsonBuffer<1024 > buf;
242
+ StaticJsonBuffer<2048 > buf;
243
243
JsonArray& things = buf.createArray ();
244
244
ThingDevice* device = firstDevice;
245
245
while (device != nullptr ) {
You can’t perform that action at this time.
0 commit comments