refactor: allow BAS only on BLE peripherals

This commit is contained in:
Gabor Hornyak 2022-06-24 20:56:29 +00:00
parent 0d49691626
commit 9ef105522b

View file

@ -156,7 +156,7 @@ config BT_PERIPHERAL_PREF_LATENCY
config BT_PERIPHERAL_PREF_TIMEOUT
default 400
if ((!ZMK_SPLIT_ROLE_CENTRAL) || (!ZMK_SPLIT))
if (CONFIG_ZMK_BLE && !CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
config BT_BAS
default y