shell: Fix undefined macro warnings
Fix undefined macro warning if CONFIG_SHELL* options are not selected Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
parent
6cd70a5f85
commit
bdb0284b82
3 changed files with 3 additions and 3 deletions
|
@ -284,7 +284,7 @@ static int cmd_help(const struct shell *shell, size_t argc, char **argv)
|
|||
" all commands or its subcommands.\n"
|
||||
"You can try to call commands with <-h> or <--help> parameter"
|
||||
" for more information.");
|
||||
#if CONFIG_SHELL_METAKEYS
|
||||
#if defined(CONFIG_SHELL_METAKEYS)
|
||||
shell_print(shell,
|
||||
"Shell supports following meta-keys:\n"
|
||||
"Ctrl+a, Ctrl+b, Ctrl+c, Ctrl+d, Ctrl+e, Ctrl+f, Ctrl+k,"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue