libs: remove lib_libbsprintf automatic line wrapping
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
parent
b6a4e91ef0
commit
6fbe16f40f
|
@ -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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue