mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 20:57:20 +08:00
[finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not and fix the bsp compile error
This commit is contained in:
@@ -57,6 +57,10 @@ const char* finsh_get_prompt(void);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef FINSH_ENABLE_ECHO
|
||||
#define FINSH_ENABLE_ECHO 1
|
||||
#endif
|
||||
|
||||
#ifdef FINSH_USING_AUTH
|
||||
#ifndef FINSH_PASSWORD_MAX
|
||||
#define FINSH_PASSWORD_MAX RT_NAME_MAX
|
||||
|
||||
Reference in New Issue
Block a user