Skip to content
Commit 7318904a authored by Johan Hedberg's avatar Johan Hedberg Committed by Johan Hedberg
Browse files

shell: Use struct shell_module instead of integer to refer to modules



It's much more intuitive to read "if (module)" instead of
"if (module != -1)" when checking for a valid module. Update the code
to use struct shell_module pointers instead of integers for tracking
modules.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 22b5ff9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment