diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-12-12 23:13:49 -0500 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-12-28 10:16:24 -0500 |
commit | 4db5b169bff1f3de5353324baef5724be4f9a6a5 (patch) | |
tree | c690932524a26fb28e20528fe1d2b1745dae195a /app/Kconfig | |
parent | 842aa5a842e117b7b00e49258ca0bde44dc0c789 (diff) |
refactor(splits): Ability to override split role.
* Move central/peripheral setting to Kconfig.defconfig
files to allow left/right .conf files to override
central/peripheral role for splits.
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/app/Kconfig b/app/Kconfig index ec043bf..acb288c 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -83,7 +83,6 @@ menu "Split Support" config ZMK_SPLIT bool "Split keyboard support" - default n if ZMK_SPLIT @@ -95,19 +94,12 @@ config ZMK_SPLIT_BLE if ZMK_SPLIT_BLE -choice ZMK_SPLIT_BLE_ROLE - bool "BLE Role For Split Communication" - default ZMK_SPLIT_BLE_ROLE_CENTRAL - config ZMK_SPLIT_BLE_ROLE_CENTRAL bool "Central" select BT_CENTRAL select BT_GATT_CLIENT -config ZMK_SPLIT_BLE_ROLE_PERIPHERAL - bool "Peripheral" - -if ZMK_SPLIT_BLE_ROLE_PERIPHERAL +if !ZMK_SPLIT_BLE_ROLE_CENTRAL config ZMK_USB default n @@ -121,12 +113,9 @@ config BT_MAX_CONN config BT_GAP_AUTO_UPDATE_CONN_PARAMS default n -#ZMK_SPLIT_BLE_ROLE_PERIPHERAL +#!ZMK_SPLIT_BLE_ROLE_CENTRAL endif -#ZMK_SPLIT_BLE_ROLE -endchoice - #ZMK_SPLIT_BLE endif |