mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 01:39:44 +08:00
lib_libvsprintf.c: Add support for %pB parameter.
Signed-off-by: likun17 <likun17@xiaomi.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user