allow ble to be enabled if split transport is ble

This commit is contained in:
Kellen Carey 2020-10-11 20:11:19 -07:00
parent 8e298ec701
commit 8b9b247592
1 changed files with 11 additions and 3 deletions

View File

@ -85,9 +85,17 @@ if ZMK_SPLIT
config ZMK_SPLIT_BLE
bool "Split keyboard support via BLE transport"
depends on ZMK_BLE
default y
select BT_USER_PHY_UPDATE
select BT
select BT_SMP
select BT_SMP_SC_PAIR_ONLY
select BT_SMP_APP_PAIRING_ACCEPT
select BT_PERIPHERAL
select BT_GATT_DIS
select BT_GATT_BAS
select BT_SETTINGS
select SETTINGS
if ZMK_SPLIT_BLE
@ -129,7 +137,7 @@ endif
#ZMK_SPLIT
endif
if ZMK_BLE
if ZMK_BLE || ZMK_SPLIT_BLE
if ZMK_SPLIT_BLE && ZMK_SPLIT_BLE_ROLE_CENTRAL
@ -153,7 +161,7 @@ config BT_MAX_PAIRED
#!ZMK_SPLIT_BLE
endif
#ZMK_BLE
#ZMK_BLE || ZMK_SPLIT_BLE
endif
#Split Support