zephyr/tests/bluetooth/shell
Emil Gydesen 1e5be3f020 Bluetooth: Audio: Fix issue with unicast client src/snk ASE count
If either the sink or source ASE count was zero, calls to
ARRAY_SIZE(srcs) or ARRAY_SIZE(sinks) would cause a build warning.

The arrays should actually not be there at all if the respective
ASE count was 0, as that is just a waste of memory. The arrays,
and all uses of them, have been properly guarded.

This also adds a build assert to ensure that at least one
of them is non-zero, and that we also test building either
of them with the value 0.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-01-04 10:35:14 +01:00
..
boards Bluetooth: Shell: Add support for sending sine tone with the audio shell 2022-10-07 13:22:53 +02:00
src
CMakeLists.txt
audio.conf Bluetooth: Audio: Add AUDIO_ISO debug logging 2023-01-04 10:35:14 +01:00
cdc_acm.conf
log.conf Bluetooth: Use Zephyr standard log system instead of `bluetooth/common/log` 2022-11-25 17:08:36 +01:00
mesh.conf Bluetooth: Use Zephyr standard log system instead of `bluetooth/common/log` 2022-11-25 17:08:36 +01:00
prj.conf
prj_br.conf
testcase.yaml Bluetooth: Audio: Fix issue with unicast client src/snk ASE count 2023-01-04 10:35:14 +01:00
usb.overlay