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


The following commit(s) were added to refs/heads/master by this push:
     new 9e83793  nimble/btshell: Fix build with SHELL_CMD_HELP set to 0
9e83793 is described below

commit 9e83793445e6c3cf066d95994c9efe78a5ee4a90
Author: jipanienko <[email protected]>
AuthorDate: Mon Jan 27 16:20:51 2020 +0100

    nimble/btshell: Fix build with SHELL_CMD_HELP set to 0
---
 apps/btshell/src/cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/btshell/src/cmd.c b/apps/btshell/src/cmd.c
index 47643c7..1d444b5 100644
--- a/apps/btshell/src/cmd.c
+++ b/apps/btshell/src/cmd.c
@@ -3196,6 +3196,7 @@ static const struct shell_cmd_help phy_read_help = {
     .usage = NULL,
     .params = phy_read_params,
 };
+#endif
 
 /*****************************************************************************
  * $host-enable                                                              *
@@ -3258,7 +3259,6 @@ static const struct shell_cmd_help host_disable_help = {
     .usage = NULL,
     .params = NULL,
 };
-#endif
 
 /*****************************************************************************
  * $gatt-discover                                                            *

Reply via email to