Browse Source

Samll BF: Eine schließende Klammer zuviel (bei ESP32 compile)

pull/1491/head
VArt67 11 months ago
parent
commit
864c5f5790
  1. 2
      src/web/RestApi.h

2
src/web/RestApi.h

@ -169,7 +169,7 @@ class RestApi {
#ifndef ESP32
DynamicJsonDocument json(ESP.getMaxFreeBlockSize() - 512); // need some memory on heap
#else
DynamicJsonDocument json(12000)); // does this work? I have no ESP32 :-(
DynamicJsonDocument json(12000); // does this work? I have no ESP32 :-(
#endif
DeserializationError err = deserializeJson(json, (const char *)mTmpBuf, mTmpSize);
json.shrinkToFit();

Loading…
Cancel
Save