commit | 572d2b02a2a40756e478f7f7ba2065514b4c5c04 | [log] [tgz] |
---|---|---|
author | Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no> | Wed Nov 18 12:17:34 2020 +0100 |
committer | Maureen Helm <maureen.helm@nxp.com> | Mon Nov 30 16:03:01 2020 -0600 |
tree | 36d2f953c52b20281c95c28c0f1bc8256cebdda4 | |
parent | 0e91aada4a82cc7831587b6a6a9bfb26d7a76962 [diff] |
shell: select command feature optimalization Added IS_ENABLED(CONFIG_SHELL_CMDS_SELECT) to remove a dead code. Added static inline function that returns pointer to the selected command. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>