Skip to content

Commit 905b1ca

Browse files
committed
Updated verbosity
1 parent 51a737d commit 905b1ca

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

VanLiveConnect/Esp.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const char* EspSystemDataToJson(char* buf, const int n)
182182
if (at >= n) return "";
183183

184184
#ifdef PRINT_JSON_BUFFERS_ON_SERIAL
185-
Serial.print(F("Parsed to JSON object:\n"));
185+
Serial.printf_P(PSTR("%sESP system data as JSON object:\n"), TimeStamp());
186186
PrintJsonText(buf);
187187
#endif // PRINT_JSON_BUFFERS_ON_SERIAL
188188

@@ -210,7 +210,7 @@ const char* EspRuntimeDataToJson(char* buf, const int n)
210210
if (at >= n) return "";
211211

212212
#ifdef PRINT_JSON_BUFFERS_ON_SERIAL
213-
Serial.print(F("Parsed to JSON object:\n"));
213+
Serial.printf_P(PSTR("%sESP runtime data as JSON object:\n"), TimeStamp());
214214
PrintJsonText(buf);
215215
#endif // PRINT_JSON_BUFFERS_ON_SERIAL
216216

VanLiveConnect/Wifi.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,8 @@ const char* WifiDataToJson(const IPAddress& client, char* buf, const int n)
205205
if (at >= n) return "";
206206

207207
#ifdef PRINT_JSON_BUFFERS_ON_SERIAL
208-
209-
Serial.print(F("Wi-Fi data as JSON object:\n"));
208+
Serial.printf_P(PSTR("%sWi-Fi data as JSON object:\n"), TimeStamp());
210209
PrintJsonText(buf);
211-
212210
#endif // PRINT_JSON_BUFFERS_ON_SERIAL
213211

214212
return buf;

0 commit comments

Comments
 (0)