Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telenet: fix telenet compilation error when system_nsh is not enabled #2713

Closed
wants to merge 1 commit into from

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 <[email protected]>
@lupyuen
Copy link
Member

lupyuen commented Oct 13, 2024

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

@@ -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
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