From e86d5f04efbc87325aaa68d278b2db75a7a369f5 Mon Sep 17 00:00:00 2001 From: Gabor Hornyak Date: Fri, 24 Jun 2022 15:26:58 +0000 Subject: [PATCH] refactor: use new config options --- app/Kconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Kconfig b/app/Kconfig index 4bcd88b0..b6cbceaf 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -102,7 +102,6 @@ menuconfig ZMK_BLE select BT_SMP_APP_PAIRING_ACCEPT select BT_PERIPHERAL select BT_DIS - select BT_BAS select BT_SETTINGS select SETTINGS @@ -157,6 +156,13 @@ config BT_PERIPHERAL_PREF_LATENCY config BT_PERIPHERAL_PREF_TIMEOUT default 400 +if ((!ZMK_SPLIT_ROLE_CENTRAL) || (!ZMK_SPLIT)) + +config BT_BAS + default y + +endif + #ZMK_BLE endif