From 415649fabbb9578b98990015a86a290262986621 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Wed, 13 Jun 2018 15:58:53 +0300 Subject: [PATCH] Check if codacy likes this --- code/espurna/debug.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/espurna/debug.ino b/code/espurna/debug.ino index 98192d7c..7eea7ccb 100644 --- a/code/espurna/debug.ino +++ b/code/espurna/debug.ino @@ -73,9 +73,9 @@ void _debugSend(char * message) { #if DEBUG_ADD_TIMESTAMP char buffer[strlen(timestamp) + strlen(message) + 1]; snprintf_P(buffer, sizeof(buffer), "%s%s", timestamp, message); - root["weblog"] = buffer; + root.set("weblog", buffer); #else - root["weblog"] = message; + root.set("weblog", message); #endif String out; root.printTo(out);