Bluetooth: Audio: Modify the compile guard for audio_iso.c

audio_iso.c should only be compiled if we require any streams,
so it is now guarded by CONFIG_BT_AUDIO_STREAM.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2023-01-09 14:07:24 +01:00 committed by Carles Cufí
commit 4716438c20

View file

@ -3,7 +3,6 @@
zephyr_library()
zephyr_library_sources(
audio.c
audio_iso.c
)
if (CONFIG_BT_VOCS OR CONFIG_BT_VOCS_CLIENT)
@ -48,7 +47,7 @@ zephyr_library_sources_ifdef(CONFIG_MCTL media_proxy.c)
zephyr_library_sources_ifdef(CONFIG_BT_ASCS ascs.c)
zephyr_library_sources_ifdef(CONFIG_BT_PACS pacs.c)
zephyr_library_sources_ifdef(CONFIG_BT_AUDIO_STREAM stream.c codec.c)
zephyr_library_sources_ifdef(CONFIG_BT_AUDIO_STREAM stream.c codec.c audio_iso.c)
zephyr_library_sources_ifdef(CONFIG_BT_AUDIO_UNICAST_SERVER unicast_server.c)
zephyr_library_sources_ifdef(CONFIG_BT_AUDIO_UNICAST_CLIENT unicast_client.c)
zephyr_library_sources_ifdef(CONFIG_BT_AUDIO_BROADCAST_SOURCE broadcast_source.c)