bluetooth: shell: match cmd_conn_phy_update conditions
The condition for channel-map are CONFIG_BT_CENTRAL || CONFIG_BT_BROADCASTER, change the corresponding handler ifdef so that it's included in the build if CONFIG_BT_BROADCASTER is enabled but CONFIG_BT_CENTRAL is not. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
6152e64aa0
commit
e51a877a90
1 changed files with 1 additions and 1 deletions
|
@ -3244,7 +3244,7 @@ static int cmd_conn_phy_update(const struct shell *sh, size_t argc,
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BT_CENTRAL)
|
||||
#if defined(CONFIG_BT_CENTRAL) || defined(CONFIG_BT_BROADCASTER)
|
||||
static int cmd_chan_map(const struct shell *sh, size_t argc, char *argv[])
|
||||
{
|
||||
uint8_t chan_map[5] = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue