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>
Loading
Please sign in to comment