diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-12 07:54:37 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-12 07:54:37 -0600 |
commit | eb3f4c58ae00fa9f088952a6a3769699428e822b (patch) | |
tree | eae54125c2631e56d0b066ae1e315781aea04c5d /nuttx/libc | |
parent | 80eaef382e166ee005fad46105e0005f7ee46e35 (diff) | |
download | nuttx-eb3f4c58ae00fa9f088952a6a3769699428e822b.tar.gz nuttx-eb3f4c58ae00fa9f088952a6a3769699428e822b.tar.bz2 nuttx-eb3f4c58ae00fa9f088952a6a3769699428e822b.zip |
sscanf should also support %F
Diffstat (limited to 'nuttx/libc')
-rw-r--r-- | nuttx/libc/stdio/lib_sscanf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libc/stdio/lib_sscanf.c b/nuttx/libc/stdio/lib_sscanf.c index adad40135..c9375d35d 100644 --- a/nuttx/libc/stdio/lib_sscanf.c +++ b/nuttx/libc/stdio/lib_sscanf.c @@ -515,7 +515,7 @@ int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap) /* Process %f: Floating point conversion */ - else if (*fmt == 'f') + else if (*fmt == 'f' || *fmt == 'F') { #ifdef CONFIG_HAVE_DOUBLE FAR double_t *pd = NULL; |