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:
Emil Gydesen 2023-01-30 16:34:22 +01:00 committed by Carles Cufí
commit 3d4622b4d4

View file

@ -157,7 +157,7 @@ static bool build_pac_records(const struct bt_pacs_cap *cap, void *user_data)
return true;
fail:
__ASSERT(true, "No space for %p", cap);
__ASSERT(false, "No space for %p", cap);
net_buf_simple_restore(buf, &state);