mirror of
https://github.com/apache/nuttx.git
synced 2026-09-28 03:09:13 +08:00
sscanf should also support %F
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user