diff --git a/src/web/RestApi.h b/src/web/RestApi.h index 695d7a8c..8bf68dfc 100644 --- a/src/web/RestApi.h +++ b/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();