Shell improvements.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9870 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-10-23 09:25:29 +00:00
parent 6de99ec69c
commit d5f3e4668f
1 changed files with 14 additions and 10 deletions

View File

@ -33,16 +33,6 @@
/* Module constants. */
/*===========================================================================*/
/**
* @brief Prompt string
*/
#define SHELL_PROMPT_STR "ch> "
/**
* @brief Newline string
*/
#define SHELL_NEWLINE_STR "\r\n"
/**
* @brief Shell History Constants
*/
@ -102,6 +92,20 @@
#define SHELL_USE_ESC_SEQ FALSE
#endif
/**
* @brief Prompt string
*/
#if !defined(SHELL_PROMPT_STR) || defined(__DOXYGEN__)
#define SHELL_PROMPT_STR "ch> "
#endif
/**
* @brief Newline string
*/
#if !defined(SHELL_NEWLINE_STR) || defined(__DOXYGEN__)
#define SHELL_NEWLINE_STR "\r\n"
#endif
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/