sscanf should also support %F

This commit is contained in:
Gregory Nutt 2014-12-12 07:54:37 -06:00
parent e68be3dbb4
commit 40b0acaded

View File

@ -515,7 +515,7 @@ int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap)
/* Process %f: Floating point conversion */ /* Process %f: Floating point conversion */
else if (*fmt == 'f') else if (*fmt == 'f' || *fmt == 'F')
{ {
#ifdef CONFIG_HAVE_DOUBLE #ifdef CONFIG_HAVE_DOUBLE
FAR double_t *pd = NULL; FAR double_t *pd = NULL;