mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-22 13:08:06 +00:00
Update RedirectablePrint.cpp
This commit is contained in:
parent
46aee8274f
commit
01298a7b01
@ -70,7 +70,7 @@ size_t RedirectablePrint::logDebug(const char *format, ...)
|
|||||||
va_list arg;
|
va_list arg;
|
||||||
va_start(arg, format);
|
va_start(arg, format);
|
||||||
|
|
||||||
// Cope with 0 len0 format strings, but look for new line terminator
|
// Cope with 0 len format strings, but look for new line terminator
|
||||||
bool hasNewline = *format && format[strlen(format) - 1] == '\n';
|
bool hasNewline = *format && format[strlen(format) - 1] == '\n';
|
||||||
|
|
||||||
// If we are the first message on a report, include the header
|
// If we are the first message on a report, include the header
|
||||||
|
Loading…
Reference in New Issue
Block a user