sscanf: Accept %X as well as %x as a format specifier. From Sébastien Lorquet
This commit is contained in:
parent
fb6661aaa4
commit
1b661c6d23
|
@ -430,6 +430,7 @@ int vsscanf(FAR const char *buf, FAR const char *fmt, va_list ap)
|
||||||
base = 10;
|
base = 10;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'X':
|
||||||
case 'x':
|
case 'x':
|
||||||
base = 16;
|
base = 16;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue