This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 85f95592f715ac8d4a584261876572f457c39386
Author: yyy <[email protected]>
AuthorDate: Fri Dec 20 10:46:54 2024 +0800

    fix coding style
---
 .../examples/linux_blemesh_shell/include/shell/shell.h   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/porting/examples/linux_blemesh_shell/include/shell/shell.h 
b/porting/examples/linux_blemesh_shell/include/shell/shell.h
index 75130487d..4135010f7 100644
--- a/porting/examples/linux_blemesh_shell/include/shell/shell.h
+++ b/porting/examples/linux_blemesh_shell/include/shell/shell.h
@@ -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

Reply via email to