lib_libvsprintf.c: Add support for %pB parameter.
Signed-off-by: likun17 <likun17@xiaomi.com>
This commit is contained in:
parent
49b9aa0f33
commit
83914d5b29
1 changed files with 8 additions and 0 deletions
|
@ -1122,6 +1122,14 @@ str_lpad:
|
|||
c = fmt_char(fmt);
|
||||
switch (c)
|
||||
{
|
||||
case 'B':
|
||||
{
|
||||
FAR struct va_format *vaf = (FAR void *)(uintptr_t)x;
|
||||
|
||||
lib_bsprintf(stream, vaf->fmt, vaf->va);
|
||||
continue;
|
||||
}
|
||||
|
||||
case 'V':
|
||||
{
|
||||
FAR struct va_format *vaf = (FAR void *)(uintptr_t)x;
|
||||
|
|
Loading…
Reference in a new issue