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
commit d50c371b30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 1 deletions

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