diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-09-29 12:28:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 12:28:51 -0400 |
commit | d50c371b30ab423df0b513c07b394c31bf09d391 (patch) | |
tree | 325d9bbd9fd379a69d5d85f4d2115ffa28733544 | |
parent | d1deb3e57e05efc6d981db6f66464af3469bcb95 (diff) | |
parent | 182a6dca1fc9b1d5e7b0d3828501d6be43ff70dd (diff) |
Merge pull request #222 from petejohanson/bluetooth/fix-max-paired-kconfig
Fix max paired/connected settings for all configs.
-rw-r--r-- | app/Kconfig | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/Kconfig b/app/Kconfig index 6180565..ccd40da 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -132,16 +132,30 @@ 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 config ZMK_KSCAN_MOCK_DRIVER |