bluetooth: host: conn: Add const to addr in bt_le_set_auto_conn
This commit adds missed const modifier for addr pointer for bt_le_set_auto_conn function Signed-off-by: Radoslaw Koppel <radoslaw.koppel@nordicsemi.no>
This commit is contained in:
parent
92080a0670
commit
4db9731451
2 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ struct bt_conn *bt_conn_create_le(const bt_addr_le_t *peer,
|
||||||
*
|
*
|
||||||
* @return Zero on success or error code otherwise.
|
* @return Zero on success or error code otherwise.
|
||||||
*/
|
*/
|
||||||
int bt_le_set_auto_conn(bt_addr_le_t *addr,
|
int bt_le_set_auto_conn(const bt_addr_le_t *addr,
|
||||||
const struct bt_le_conn_param *param);
|
const struct bt_le_conn_param *param);
|
||||||
|
|
||||||
/** @brief Initiate directed advertising to a remote device
|
/** @brief Initiate directed advertising to a remote device
|
||||||
|
|
|
@ -1934,7 +1934,7 @@ struct bt_conn *bt_conn_create_le(const bt_addr_le_t *peer,
|
||||||
return conn;
|
return conn;
|
||||||
}
|
}
|
||||||
|
|
||||||
int bt_le_set_auto_conn(bt_addr_le_t *addr,
|
int bt_le_set_auto_conn(const bt_addr_le_t *addr,
|
||||||
const struct bt_le_conn_param *param)
|
const struct bt_le_conn_param *param)
|
||||||
{
|
{
|
||||||
struct bt_conn *conn;
|
struct bt_conn *conn;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue