Skip to content
Commit ddd83c3b authored by Andries Kruithof's avatar Andries Kruithof Committed by Carles Cufí
Browse files

Bluetooth: controller: correct conditional compile for central FEX



In the switch statement there are two cases guarded by ifdef's.
These cases are not compiled in for the following Kconfig settings:
BT_PERIPHERAL=n
BT_CTRL_PER_INIT_FEAT_XCHG=n
The following function call then becomes dead code
This is fixed here by adding the proper guards around the whole case
statement

Signed-off-by: default avatarAndries Kruithof <andries.kruithof@nordicsemi.no>
parent 9ecef4b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment