Fixed warning in shell when auto completion is enabled.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10171 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2017-04-25 07:02:27 +00:00
parent 11cd580360
commit 6a99a1fb4c
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ static int get_history(ShellHistory *shp, char *line, int dir) {
#if (SHELL_USE_COMPLETION == TRUE) || defined(__DOXYGEN__)
static void get_completions(ShellConfig *scfg, char *line) {
ShellCommand *lcp = shell_local_commands;
const ShellCommand *lcp = shell_local_commands;
const ShellCommand *scp = scfg->sc_commands;
char **scmp = scfg->sc_completion;
char help_cmp[] = "help";