SerialLog: output CR + LF instead of just LF

This commit is contained in:
Joel Stein 2018-12-17 19:25:13 +01:00
parent a76ae557f0
commit c92ce53ddf
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {