commit | 090ef041e87b697d4b759f7dc850ff649b482db6 | [log] [tgz] |
---|---|---|
author | Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no> | Fri Feb 08 15:37:40 2019 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 08 14:51:52 2019 -0500 |
tree | b045e8d17d1365a43fdd9c3b57afe535ce09c0c4 | |
parent | 9ff319dc52481ad214c060b156e79d42e5ce9fcb [diff] |
shell: improved shell_prompt_change function Shell will store only pointer to the prompt string instead of copying it to the RAM buffer. It will save RAM memory and it will simplify implementation of a new feature: "select" command. When a command will be selected than shell will display command syntax as a prompt. Removed obsolete ASSERT check in a static function. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>