Skip to content

Commit

Permalink
subsys: shell: removing troubleshooting assert
Browse files Browse the repository at this point in the history
Removing assert that was crashing shell in allowed scenario.
For example the Tab button is pressed when command buffer is empty.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
  • Loading branch information
Jakub Rzeszutko authored and carlescufi committed Sep 25, 2018
1 parent f861629 commit f3db4d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion subsys/shell/shell.c
Expand Up @@ -148,7 +148,6 @@ static void cmd_get(const struct shell_cmd_entry *command, size_t lvl,
struct shell_static_entry *d_entry)
{
assert(entry != NULL);
assert(command != NULL);
assert(d_entry != NULL);

if (lvl == SHELL_CMD_ROOT_LVL) {
Expand Down

0 comments on commit f3db4d7

Please sign in to comment.