kopia lustrzana https://github.com/meshtastic/firmware
Update RedirectablePrint.cpp
rodzic
46aee8274f
commit
01298a7b01
|
@ -70,7 +70,7 @@ size_t RedirectablePrint::logDebug(const char *format, ...)
|
|||
va_list arg;
|
||||
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';
|
||||
|
||||
// If we are the first message on a report, include the header
|
||||
|
@ -110,4 +110,4 @@ size_t RedirectablePrint::logDebug(const char *format, ...)
|
|||
}
|
||||
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue