refactor: use 'select BT_BAS if ...' syntax

This commit is contained in:
Gabor Hornyak 2022-07-15 20:01:52 +00:00
parent 9473308e36
commit 53816539f1

View file

@ -101,6 +101,7 @@ menuconfig ZMK_BLE
select BT_SMP_SC_PAIR_ONLY
select BT_SMP_APP_PAIRING_ACCEPT
select BT_PERIPHERAL
select BT_BAS if !ZMK_SPLIT_ROLE_CENTRAL
select BT_DIS
select BT_SETTINGS
select SETTINGS
@ -156,13 +157,6 @@ config BT_PERIPHERAL_PREF_LATENCY
config BT_PERIPHERAL_PREF_TIMEOUT
default 400
if (CONFIG_ZMK_BLE && !CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
config BT_BAS
default y
endif
#ZMK_BLE
endif