shell: removed dead code in bt command
Removed automatic argument count checking in bt command. Now it is possible to print a message that extra argument is not recognized. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
b6fc1af6ba
commit
4557b6b2d1
1 changed files with 1 additions and 1 deletions
|
@ -1427,4 +1427,4 @@ static int cmd_bt(const struct shell *shell, size_t argc, char **argv)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
SHELL_CMD_ARG_REGISTER(bt, &bt_cmds, "Bluetooth shell commands", cmd_bt, 1, 1);
|
||||
SHELL_CMD_REGISTER(bt, &bt_cmds, "Bluetooth shell commands", cmd_bt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue