From 3812de1f5c071282eee4295a2b9375fbf05d3c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Contreras?= Date: Tue, 14 Jan 2025 16:15:41 -0500 Subject: [PATCH] Moving configuration to defconfig --- boards/shields/temper/Kconfig.defconfig | 16 ++++++++++++++++ boards/shields/temper/temper.conf | 3 --- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/boards/shields/temper/Kconfig.defconfig b/boards/shields/temper/Kconfig.defconfig index 62291e5c..76967040 100644 --- a/boards/shields/temper/Kconfig.defconfig +++ b/boards/shields/temper/Kconfig.defconfig @@ -8,9 +8,25 @@ config ZMK_SPLIT_ROLE_CENTRAL endif +if SHIELD_TEMPER_RIGHT + +config ZMK_SPLIT_ROLE_CENTRAL + default n + +endif + if SHIELD_TEMPER_LEFT || SHIELD_TEMPER_RIGHT config ZMK_SPLIT default y +config ZMK_SLEEP + default y + +config ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY + default y + +config ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING + default y + endif diff --git a/boards/shields/temper/temper.conf b/boards/shields/temper/temper.conf index 93c5c343..a053efa3 100644 --- a/boards/shields/temper/temper.conf +++ b/boards/shields/temper/temper.conf @@ -1,4 +1 @@ # Uncomment the following line to enable deep sleep -CONFIG_ZMK_SLEEP=y -CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y -CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y