From 49bbc88c4754e406f981a991ee10935ab14d6f63 Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Sun, 13 Oct 2024 13:04:22 +0800 Subject: [PATCH] telenet: fix telenet compilation error when system_nsh is not enabled elnetd.c:57:5: error: 'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE' undeclared (first use in this function); did you mean 'CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY'? 57 | CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | CONFIG_SYSTEM_TELNETD_SESSION_PRIORITY Signed-off-by: yinshengkai --- system/telnetd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/telnetd/Kconfig b/system/telnetd/Kconfig index 407e1ce5ca8..67a22b5614d 100644 --- a/system/telnetd/Kconfig +++ b/system/telnetd/Kconfig @@ -40,6 +40,6 @@ config SYSTEM_TELNETD_SESSION_PRIORITY config SYSTEM_TELNETD_SESSION_STACKSIZE int "Telnetd session task stack size" - default SYSTEM_NSH_STACKSIZE + default DEFAULT_TASK_STACKSIZE endif # SYSTEM_TELNETD