This is an automated email from the ASF dual-hosted git repository.
ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 2eeb75005 Fix telnetd.c:57:5: error:
'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE' undeclared
2eeb75005 is described below
commit 2eeb750055e92147b4eece0eee9f9bd12aad8a37
Author: Xiang Xiao <[email protected]>
AuthorDate: Sun Oct 13 15:01:23 2024 +0800
Fix telnetd.c:57:5: error: 'CONFIG_SYSTEM_TELNETD_SESSION_STACKSIZE'
undeclared
Signed-off-by: Xiang Xiao <[email protected]>
---
system/telnetd/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/system/telnetd/Kconfig b/system/telnetd/Kconfig
index 407e1ce5c..f3ad64de4 100644
--- a/system/telnetd/Kconfig
+++ b/system/telnetd/Kconfig
@@ -40,6 +40,7 @@ config SYSTEM_TELNETD_SESSION_PRIORITY
config SYSTEM_TELNETD_SESSION_STACKSIZE
int "Telnetd session task stack size"
- default SYSTEM_NSH_STACKSIZE
+ default SYSTEM_NSH_STACKSIZE if SYSTEM_NSH
+ default DEFAULT_TASK_STACKSIZE
endif # SYSTEM_TELNETD