Merge pull request #222 from petejohanson/bluetooth/fix-max-paired-kconfig

Fix max paired/connected settings for all configs.
This commit is contained in:
Pete Johanson
2020-09-29 12:28:51 -04:00
committed by GitHub

View File

@@ -132,14 +132,28 @@ endif
endif
if ZMK_BLE && (!ZMK_SPLIT_BLE || ZMK_SPLIT_BLE_ROLE_CENTRAL)
if ZMK_BLE
if ZMK_SPLIT_BLE && ZMK_SPLIT_BLE_ROLE_CENTRAL
config BT_MAX_CONN
default 6
config BT_MAX_PAIRED
default 6
endif
if !ZMK_SPLIT_BLE
config BT_MAX_CONN
default 5
config BT_MAX_PAIRED
default 5
endif
endif
endmenu