Merge pull request #4657 from chaosmaster/patch-2

SerialLog: output CR + LF instead of just LF
This commit is contained in:
Theo Arends 2018-12-17 20:04:14 +01:00 committed by GitHub
commit b44506466a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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