sjanc closed pull request #1009: btshell: Fix parsing of high_duty parameter

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/apps/btshell/src/cmd.c b/apps/btshell/src/cmd.c
index 209680dbe3..4dcd9507bd 100644
--- a/apps/btshell/src/cmd.c
+++ b/apps/btshell/src/cmd.c
@@ -273,12 +273,6 @@ cmd_advertise_configure(int argc, char **argv)
         return rc;
-    params.high_duty_directed = parse_arg_uint8_dflt("high_duty", 0, &rc);
-    if (rc != 0) {
-        console_printf("invalid 'high_duty' parameter\n");
-        return rc;
-    }
     rc = btshell_ext_adv_configure(instance, &params, &selected_tx_power);
     if (rc) {
         console_printf("failed to configure advertising instance\n");


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to