Bluetooth: PACS: Fix bad __ASSERT condition
__ASSERT(true will never be triggered. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
5a28d80893
commit
3d4622b4d4
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ static bool build_pac_records(const struct bt_pacs_cap *cap, void *user_data)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
__ASSERT(true, "No space for %p", cap);
|
__ASSERT(false, "No space for %p", cap);
|
||||||
|
|
||||||
net_buf_simple_restore(buf, &state);
|
net_buf_simple_restore(buf, &state);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue