mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 05:23:33 +08:00
Fix more floating point formatting bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5013 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -1587,7 +1587,7 @@ int lib_vsprintf(FAR struct lib_outstream_s *obj, FAR const char *src, va_list a
|
||||
|
||||
/* Perform left field justification actions */
|
||||
|
||||
prejustify(obj, fmt, flags, width, dblsize);
|
||||
prejustify(obj, fmt, 0, width, dblsize);
|
||||
|
||||
/* Output the number */
|
||||
|
||||
@@ -1595,7 +1595,7 @@ int lib_vsprintf(FAR struct lib_outstream_s *obj, FAR const char *src, va_list a
|
||||
|
||||
/* Perform right field justification actions */
|
||||
|
||||
postjustify(obj, fmt, flags, width, dblsize);
|
||||
postjustify(obj, fmt, 0, width, dblsize);
|
||||
#else
|
||||
/* Output the number with a fixed precision */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user