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
|
@ -45,7 +45,7 @@ void shell_history_mode_exit(struct shell_history *history);
|
|||
|
||||
/* returns true if remains in history mode.*/
|
||||
bool shell_history_get(struct shell_history *history, bool up,
|
||||
u8_t *dst, size_t *len);
|
||||
u8_t *dst, u16_t *len);
|
||||
|
||||
void shell_history_put(struct shell_history *history, u8_t *line, size_t len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue