Skip to content
Commit 0b2fbf99 authored by Evgenii Kosenko's avatar Evgenii Kosenko Committed by Benjamin Cabé
Browse files

bluetooth: tester: btp: fixes ext adv selection



Disabling extended advertising, CONFIG_BT_EXT_ADV, fails to compile cause
references not guarded ext_adv variable when tester_gap_create_adv_instance
is called. Fixes by taking in use IS_ENABLED as preferred way of guarding
Kconfig option. It enables compiling guarded code to get warning/errors and
not to link if not used.

Signed-off-by: default avatarEvgenii Kosenko <Evgenii.Kosenko@silabs.com>
parent bf7dfc5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment