mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Merge pull request #4657 from chaosmaster/patch-2
SerialLog: output CR + LF instead of just LF
This commit is contained in:
commit
b44506466a
@ -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);
|
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) {
|
if (loglevel <= seriallog_level) {
|
||||||
Serial.printf("%s%s\n", mxtime, log_data);
|
Serial.printf("%s%s\r\n", mxtime, log_data);
|
||||||
}
|
}
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
if (Settings.webserver && (loglevel <= Settings.weblog_level)) {
|
if (Settings.webserver && (loglevel <= Settings.weblog_level)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user