mirror of https://github.com/arendst/Tasmota.git
Fix newline regression from this morning
This commit is contained in:
parent
7af1279b55
commit
2eefdaa0f4
|
@ -2593,9 +2593,9 @@ void AddLogData(uint32_t loglevel, const char* log_data, const char* log_data_pa
|
|||
|
||||
if ((loglevel <= TasmotaGlobal.seriallog_level) &&
|
||||
(TasmotaGlobal.masterlog_level <= TasmotaGlobal.seriallog_level)) {
|
||||
TasConsole.printf("%s%s%s%s\n", mxtime, log_data, log_data_payload, log_data_retained);
|
||||
TasConsole.printf("%s%s%s%s\r\n", mxtime, log_data, log_data_payload, log_data_retained);
|
||||
#ifdef USE_SERIAL_BRIDGE
|
||||
SerialBridgePrintf("%s%s%s%s\n", mxtime, log_data, log_data_payload, log_data_retained);
|
||||
SerialBridgePrintf("%s%s%s%s\r\n", mxtime, log_data, log_data_payload, log_data_retained);
|
||||
#endif // USE_SERIAL_BRIDGE
|
||||
}
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ void SerialBridgeInit(void) {
|
|||
serial_bridge_buffer = (char*)(malloc(SERIAL_BRIDGE_BUFFER_SIZE));
|
||||
}
|
||||
SerialBridgeSerial->flush();
|
||||
SerialBridgePrintf("\n");
|
||||
SerialBridgePrintf("\r\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue