arch/risc-v/src/common/riscv_initialize.c: Add telnet_initialize to riscv's up_initialize

This commit is contained in:
chenwen 2021-04-09 11:23:14 +08:00 committed by Xiang Xiao
parent e1d8b62209
commit a41d37cffd

View File

@ -32,6 +32,7 @@
#include <nuttx/note/note_driver.h>
#include <nuttx/syslog/syslog_console.h>
#include <nuttx/drivers/drivers.h>
#include <nuttx/net/telnet.h>
#include <arch/board/board.h>
@ -162,5 +163,11 @@ void up_initialize(void)
localhost_initialize();
#endif
#ifdef CONFIG_NETDEV_TELNET
/* Initialize the Telnet session factory */
telnet_initialize();
#endif
board_autoled_on(LED_IRQSENABLED);
}