sscanf should also support %F
This commit is contained in:
parent
e68be3dbb4
commit
40b0acaded
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user