fix(bluetooth): Proper max paired/conns.

* Proper max values for both split central, and
  non-split keyboards.
This commit is contained in:
Pete Johanson 2020-09-29 12:21:06 -04:00
parent d1deb3e57e
commit 182a6dca1f
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