mirror of
https://github.com/apache/nuttx.git
synced 2026-06-10 03:13:56 +08:00
arch/risc-v/src/common/riscv_initialize.c: Add telnet_initialize to riscv's up_initialize
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user