tests: Bluetooth: CAP: Add missing CSIP function
The bt_csip_set_coordinator_csis_member_by_conn function was seemingly missing, causing the CAP unit tests to not build. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
ec0e2d6308
commit
96c1cfcfb0
1 changed files with 10 additions and 0 deletions
|
@ -52,6 +52,16 @@ int bt_csip_set_coordinator_discover(struct bt_conn *conn)
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct bt_csip_set_coordinator_set_member *
|
||||
bt_csip_set_coordinator_csis_member_by_conn(struct bt_conn *conn)
|
||||
{
|
||||
if (conn == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return &member;
|
||||
}
|
||||
|
||||
void mock_bt_csip_init(void)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue