examples/telnetd: fix compile telnetd multi definition error

Compiling system/telnetd and examples/telnetd at the same time could not
generate two builtin commands, Because the name is the same, one will be
overwritten, but there will be no compilation errors.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu 2024-05-10 15:07:29 +08:00 committed by Xiang Xiao
parent 909ab76eae
commit a1dbc8f37d
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
if(CONFIG_EXAMPLES_TELNETD)
nuttx_add_application(
NAME
telnetd
example_telnetd
PRIORITY
${CONFIG_EXAMPLES_TELNETD_DAEMONPRIO}
STACKSIZE

View File

@ -26,7 +26,7 @@ MAINSRC = telnetd.c
# Buttons built-in application info
PROGNAME = telnetd
PROGNAME = example_telnetd
PRIORITY = $(CONFIG_EXAMPLES_TELNETD_DAEMONPRIO)
STACKSIZE = $(CONFIG_EXAMPLES_TELNETD_DAEMONSTACKSIZE)
MODULE = $(CONFIG_EXAMPLES_TELNETD)