shell: internal api update in shell.h

Add Z_ prefix for internal macros.
Remove obsolete defines.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
Jakub Rzeszutko 2020-12-07 12:32:18 +01:00 committed by Carles Cufí
commit 52c999210f
3 changed files with 11 additions and 14 deletions

View file

@ -280,7 +280,7 @@ static bool tab_prepare(const struct shell *shell,
/* root command completion */
if ((*argc == 0) || ((space == 0) && (*argc == 1))) {
*complete_arg_idx = SHELL_CMD_ROOT_LVL;
*complete_arg_idx = Z_SHELL_CMD_ROOT_LVL;
*cmd = selected_cmd_get(shell);
return true;
}