diff options
author | Pete Johanson <[email protected]> | 2020-09-29 12:21:06 -0400 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2020-09-29 12:21:06 -0400 |
commit | 182a6dca1fc9b1d5e7b0d3828501d6be43ff70dd (patch) | |
tree | 325d9bbd9fd379a69d5d85f4d2115ffa28733544 /app/Kconfig | |
parent | d1deb3e57e05efc6d981db6f66464af3469bcb95 (diff) | |
download | zmk-182a6dca1fc9b1d5e7b0d3828501d6be43ff70dd.tar.gz zmk-182a6dca1fc9b1d5e7b0d3828501d6be43ff70dd.zip |
fix(bluetooth): Proper max paired/conns.
* Proper max values for both split central, and
non-split keyboards.
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/app/Kconfig b/app/Kconfig index 61805656d0..ccd40da55b 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 |