arch/risc-v/src/common/riscv_initialize.c: Add telnet_initialize to riscv's up_initialize
This commit is contained in:
parent
e1d8b62209
commit
a41d37cffd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user