libs: remove lib_libbsprintf automatic line wrapping

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2024-08-20 14:39:09 +08:00 committed by GUIDINGLI
parent b6a4e91ef0
commit 6fbe16f40f
1 changed files with 0 additions and 6 deletions

View File

@ -196,11 +196,5 @@ int lib_bsprintf(FAR struct lib_outstream_s *s, FAR const IPTR char *fmt,
}
}
if (*(fmt - 2) != '\n')
{
lib_stream_putc(s, '\n');
ret++;
}
return ret;
}