tests: btshell: Fix the HAS server shell dependency

Enable HAS shell only if preset support is enabled. Otherwise there are
no functions yet that can be exposed if the preset support is disabled.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
Mariusz Skamra 2022-05-12 10:56:41 +02:00 committed by Carles Cufí
parent 8f1c4f36ba
commit d5147803f0

View file

@ -70,7 +70,7 @@ zephyr_library_sources_ifdef(
media_controller.c
)
zephyr_library_sources_ifdef(
CONFIG_BT_HAS
CONFIG_BT_HAS_PRESET_SUPPORT
has.c
)
zephyr_library_sources_ifdef(