Bluetooth: host: direction: Remove compilation warning
Remove compilation warning caused by currently not used hci_df_set_conn_cte_tx_param function. Code is sorrounded by #ifdef CONFIG_BT_CTLR_DF_CONN_CTE_RSP. The CONFIG_BT_CTLR_DF_CONN_CTE_RSP is changed to be disabled by default (until complete implementation of the feature is provided). Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
parent
8ed26a0927
commit
deeecaaa8f
@ -92,7 +92,6 @@ config BT_CTLR_DF_CTE_RX
|
||||
config BT_CTLR_DF_CONN_CTE_RSP
|
||||
bool "Enable Connection CTE Response feature"
|
||||
depends on BT_CTLR_DF_CTE_TX && BT_CONN
|
||||
default y
|
||||
help
|
||||
Enable support for Bluetooth v5.1 Connection CTE Response feature
|
||||
in controller.
|
||||
|
||||
@ -190,6 +190,7 @@ static int hci_df_set_adv_cte_tx_enable(struct bt_le_ext_adv *adv,
|
||||
buf, NULL);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_RSP)
|
||||
/* @brief Function sets CTE parameters for connection object
|
||||
*
|
||||
* @param[in] cte_types Allowed response CTE types
|
||||
@ -258,6 +259,7 @@ static int hci_df_set_conn_cte_tx_param(struct bt_conn *conn, uint8_t cte_types,
|
||||
|
||||
return err;
|
||||
}
|
||||
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_RSP */
|
||||
|
||||
/* @brief Function initializes Direction Finding in Host
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user