Bluetooth: Shell: Fix cmd_chan_map
Allow the channel map to be set when periodic advertising or acting as an ISO source. Signed-off-by: Adam Cavender <adam.cavender@nordicsemi.no>
This commit is contained in:
parent
ad485866b0
commit
ac4f9a6962
1 changed files with 1 additions and 1 deletions
|
@ -4286,7 +4286,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds,
|
|||
SHELL_CMD_ARG(phy-update, NULL, "<tx_phy> [rx_phy] [s2] [s8]",
|
||||
cmd_conn_phy_update, 2, 3),
|
||||
#endif
|
||||
#if defined(CONFIG_BT_CENTRAL)
|
||||
#if defined(CONFIG_BT_CENTRAL) || defined(CONFIG_BT_BROADCASTER)
|
||||
SHELL_CMD_ARG(channel-map, NULL, "<channel-map: XXXXXXXXXX> (36-0)",
|
||||
cmd_chan_map, 2, 1),
|
||||
#endif /* CONFIG_BT_CENTRAL */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue