shell: Changing shell_history_get signature
Change arg_len to be u16_t in shell_history_get since it is returning a value that can be hold by u16_t. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
80c03550ba
commit
6bed8fc241
4 changed files with 4 additions and 4 deletions
|
@ -288,7 +288,7 @@ static int cmd_history(const struct shell *shell, size_t argc, char **argv)
|
|||
ARG_UNUSED(argv);
|
||||
|
||||
size_t i = 0;
|
||||
size_t len;
|
||||
u16_t len;
|
||||
|
||||
if (!IS_ENABLED(CONFIG_SHELL_HISTORY)) {
|
||||
shell_error(shell, "Command not supported.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue