Bluetooth: Shell: Fix PA shell command parameter cnt
The sync create and sync delete dit not have the correct amount of mandatory and optional parameters set in the SHELL_CMD_ARG declarations. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
68a357e66d
commit
8825ce0ce6
1 changed files with 2 additions and 2 deletions
|
@ -2786,9 +2786,9 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds,
|
||||||
SHELL_CMD_ARG(per-adv-sync-create, NULL,
|
SHELL_CMD_ARG(per-adv-sync-create, NULL,
|
||||||
HELP_ADDR_LE " <sid> [skip <count>] [timeout <ms>] [aoa] "
|
HELP_ADDR_LE " <sid> [skip <count>] [timeout <ms>] [aoa] "
|
||||||
"[aod_1us] [aod_2us] [cte_only]",
|
"[aod_1us] [aod_2us] [cte_only]",
|
||||||
cmd_per_adv_sync_create, 2, 7),
|
cmd_per_adv_sync_create, 4, 6),
|
||||||
SHELL_CMD_ARG(per-adv-sync-delete, NULL, "[<index>]",
|
SHELL_CMD_ARG(per-adv-sync-delete, NULL, "[<index>]",
|
||||||
cmd_per_adv_sync_delete, 1, 0),
|
cmd_per_adv_sync_delete, 1, 1),
|
||||||
#endif /* defined(CONFIG_BT_PER_ADV_SYNC) */
|
#endif /* defined(CONFIG_BT_PER_ADV_SYNC) */
|
||||||
#endif
|
#endif
|
||||||
#endif /* CONFIG_BT_BROADCASTER */
|
#endif /* CONFIG_BT_BROADCASTER */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue