mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 01:28:23 +00:00
[finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not
This commit is contained in:
@@ -414,7 +414,7 @@ void finsh_thread_entry(void *parameter)
|
||||
char ch;
|
||||
|
||||
/* normal is echo mode */
|
||||
shell->echo_mode = 1;
|
||||
shell->echo_mode = FINSH_ENABLE_ECHO;
|
||||
|
||||
#ifndef FINSH_USING_MSH_ONLY
|
||||
finsh_init(&shell->parser);
|
||||
|
||||
Reference in New Issue
Block a user