first murmurs of ethernet support

This commit is contained in:
Thomas Göttgens
2022-10-22 16:29:50 +02:00
parent 564feadc0d
commit f3fee5f4fb
11 changed files with 102 additions and 23 deletions

View File

@@ -47,8 +47,6 @@ size_t RedirectablePrint::vprintf(const char *format, va_list arg)
size_t len = vsnprintf(printBuf, sizeof(printBuf), format, copy);
va_end(copy);
if (len < 0) return 0;
// If the resulting string is longer than sizeof(printBuf)-1 characters, the remaining characters are still counted for the return value
if (len > sizeof(printBuf) - 1) {