Larger config/* response buffer

This commit is contained in:
fvanroie 2021-05-28 15:19:53 +02:00
parent c3ffe9cc5e
commit c19b2a7356

View File

@ -370,8 +370,8 @@ void dispatch_text_line(const char* cmnd)
// Get or Set a part of the config.json file // Get or Set a part of the config.json file
void dispatch_config(const char* topic, const char* payload) void dispatch_config(const char* topic, const char* payload)
{ {
DynamicJsonDocument doc(128 * 2); DynamicJsonDocument doc(128 * 3);
char buffer[128 * 2]; char buffer[128 * 3];
JsonObject settings; JsonObject settings;
bool update; bool update;