Skip to content

Commit

Permalink
revert coding style change
Browse files Browse the repository at this point in the history
  • Loading branch information
yyy authored and sjanc committed Dec 23, 2024
1 parent 85f9559 commit 895ed28
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions porting/examples/linux_blemesh_shell/include/shell/shell.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,20 +131,20 @@ struct shell_module {
* @brief constructs a legacy shell command.
*/
#define SHELL_CMD(cmd_, func_, help_) { \
.sc_ext = 0, \
.sc_cmd_func = func_, \
.sc_cmd = cmd_, \
.help = SHELL_HELP_(help_), \
.sc_ext = 0, \
.sc_cmd_func = func_, \
.sc_cmd = cmd_, \
.help = SHELL_HELP_(help_), \
}

/**
* @brief constructs an extended shell command.
*/
#define SHELL_CMD_EXT(cmd_, func_, help_) { \
.sc_ext = 1, \
.sc_cmd_ext_func = func_, \
.sc_cmd = cmd_, \
.help = SHELL_HELP_(help_), \
.sc_ext = 1, \
.sc_cmd_ext_func = func_, \
.sc_cmd = cmd_, \
.help = SHELL_HELP_(help_), \
}

/** @brief Register a shell_module object
Expand Down

0 comments on commit 895ed28

Please sign in to comment.