mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-27 15:24:11 +08:00
[finsh] add FINSH_ECHO_DISABLE_DEFAULT and remove FINSH_ECHO_MODE_DEFAULT, to control the finsh default echo mode
This commit is contained in:
@@ -414,7 +414,7 @@ void finsh_thread_entry(void *parameter)
|
||||
char ch;
|
||||
|
||||
/* normal is echo mode */
|
||||
#ifdef FINSH_ECHO_MODE_DEFAULT
|
||||
#ifndef FINSH_ECHO_DISABLE_DEFAULT
|
||||
shell->echo_mode = 1;
|
||||
#else
|
||||
shell->echo_mode = 0;
|
||||
|
||||
Reference in New Issue
Block a user