From c92ce53ddfa3c28b5d2e6a8e8663b4def947b6be Mon Sep 17 00:00:00 2001 From: Joel Stein Date: Mon, 17 Dec 2018 19:25:13 +0100 Subject: [PATCH] SerialLog: output CR + LF instead of just LF --- sonoff/support.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonoff/support.ino b/sonoff/support.ino index 540191855..5c80651e9 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -1113,7 +1113,7 @@ void AddLog(byte loglevel) snprintf_P(mxtime, sizeof(mxtime), PSTR("%02d" D_HOUR_MINUTE_SEPARATOR "%02d" D_MINUTE_SECOND_SEPARATOR "%02d "), RtcTime.hour, RtcTime.minute, RtcTime.second); if (loglevel <= seriallog_level) { - Serial.printf("%s%s\n", mxtime, log_data); + Serial.printf("%s%s\r\n", mxtime, log_data); } #ifdef USE_WEBSERVER if (Settings.webserver && (loglevel <= Settings.weblog_level)) {