mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 03:23:33 +08:00
stdio: fixed build error for stdio on px4io
This commit is contained in:
@@ -1245,9 +1245,11 @@ int lib_vsprintf(FAR struct lib_outstream_s *obj, FAR const char *src, va_list a
|
||||
{
|
||||
#ifndef CONFIG_NOPRINTF_FIELDWIDTH
|
||||
fmt = FMT_RJUST0;
|
||||
#ifdef CONFIG_LIBC_FLOATINGPOINT
|
||||
if (IS_HASDOT(flags)) {
|
||||
trunc = 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user