diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-04-25 07:02:27 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-04-25 07:02:27 +0000 |
commit | 6a99a1fb4c908f2c3084619deb48d31fc8b179ce (patch) | |
tree | 52a9b0cc5b7f123e27e7ca00b8ea76907abe95dc /os/various | |
parent | 11cd58036049518f66c53567ec167f5f83d84e3a (diff) | |
download | ChibiOS-6a99a1fb4c908f2c3084619deb48d31fc8b179ce.tar.gz ChibiOS-6a99a1fb4c908f2c3084619deb48d31fc8b179ce.tar.bz2 ChibiOS-6a99a1fb4c908f2c3084619deb48d31fc8b179ce.zip |
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
Diffstat (limited to 'os/various')
-rw-r--r-- | os/various/shell/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/shell/shell.c b/os/various/shell/shell.c index 054a7d6b9..3016dc6e8 100644 --- a/os/various/shell/shell.c +++ b/os/various/shell/shell.c @@ -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";
|