From b2e279bdccda949a670a5b2ba25e40cda75cc886 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Mon, 2 Oct 2023 22:51:50 -0700 Subject: [PATCH] Soft off fixes. * Properly enable ZMK_PM_SOFT_OFF. * Drop default `hold-time-ms` to 1000 ms (1 second). --- config/boards/arm/lpgalaxy_blank_slate/Kconfig.board | 1 + config/boards/arm/lpgalaxy_blank_slate/lpgalaxy_blank_slate.dts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/boards/arm/lpgalaxy_blank_slate/Kconfig.board b/config/boards/arm/lpgalaxy_blank_slate/Kconfig.board index 34845e6c..53f506f2 100644 --- a/config/boards/arm/lpgalaxy_blank_slate/Kconfig.board +++ b/config/boards/arm/lpgalaxy_blank_slate/Kconfig.board @@ -5,5 +5,6 @@ config BOARD_LPGALAXY_BLANK_SLATE bool "LP Galaxy Blank Slate" + imply ZMK_PM_SOFT_OFF depends on SOC_NRF52840_QIAA diff --git a/config/boards/arm/lpgalaxy_blank_slate/lpgalaxy_blank_slate.dts b/config/boards/arm/lpgalaxy_blank_slate/lpgalaxy_blank_slate.dts index e3d963c4..ae48b6d5 100644 --- a/config/boards/arm/lpgalaxy_blank_slate/lpgalaxy_blank_slate.dts +++ b/config/boards/arm/lpgalaxy_blank_slate/lpgalaxy_blank_slate.dts @@ -31,7 +31,7 @@ compatible = "zmk,behavior-soft-off"; #binding-cells = <0>; label = "HW_SO"; - hold-time-ms = <3000>; + hold-time-ms = <1000>; }; };