Skip to content

Conversation

@Gary-Hobson
Copy link
Contributor

Summary

telenet: fix telenet compilation error when system_nsh is not enabled

telnetd.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

Impact

Testing

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 <yinshengkai@xiaomi.com>
@lupyuen
Copy link
Member

lupyuen commented Oct 13, 2024

Sorry there's a typo in the PR title: "telenet" should be "telnet". Thanks :-)

config SYSTEM_TELNETD_SESSION_STACKSIZE
int "Telnetd session task stack size"
default SYSTEM_NSH_STACKSIZE
default DEFAULT_TASK_STACKSIZE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not revert #2706 or wait #2716?

@GUIDINGLI
Copy link
Contributor

Already handle at:
#2716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants