libc/stdio: changed LIBC_NL_ARGMAX default value to 9

If LIBC_NL_ARGMAX is too large, the stack usage of printf family functions will increase

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2023-06-26 13:08:11 +08:00 committed by Xiang Xiao
parent f3945560c0
commit 26fc59bc35
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ config LIBC_NUMBERED_ARGS
config LIBC_NL_ARGMAX config LIBC_NL_ARGMAX
int "Maximum number of numbered arguments for printf" int "Maximum number of numbered arguments for printf"
default 16 default 9
range 9 999999 range 9 999999
depends on LIBC_NUMBERED_ARGS depends on LIBC_NUMBERED_ARGS
---help--- ---help---