[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:
parent
5444c90ecf
commit
336c946b84
|
@ -57,6 +57,10 @@ const char* finsh_get_prompt(void);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef FINSH_ENABLE_ECHO
|
||||||
|
#define FINSH_ENABLE_ECHO 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef FINSH_USING_AUTH
|
#ifdef FINSH_USING_AUTH
|
||||||
#ifndef FINSH_PASSWORD_MAX
|
#ifndef FINSH_PASSWORD_MAX
|
||||||
#define FINSH_PASSWORD_MAX RT_NAME_MAX
|
#define FINSH_PASSWORD_MAX RT_NAME_MAX
|
||||||
|
|
Loading…
Reference in New Issue