From fcbbb80b5ab2bd8e29efd3c6aa2c6740ac2514a8 Mon Sep 17 00:00:00 2001 From: jhchun Date: Mon, 3 Aug 2026 13:39:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=EC=9B=90=20=EB=B2=84=ED=8A=BC=20ON/OF?= =?UTF-8?q?F=203=EC=B4=88=EC=97=90=EC=84=9C=202=EC=B4=88=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/power/power_control.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/power/power_control.c b/src/power/power_control.c index 00bd10e..8ba0684 100644 --- a/src/power/power_control.c +++ b/src/power/power_control.c @@ -20,8 +20,9 @@ #define POWER_HOLD_NODE DT_NODELABEL(pwr_hold) // 전원 래치 #define POWER_BTN_NODE DT_NODELABEL(button_check) // 전원 버튼 #define POWER_LOOP_INTERVAL 20 // 전원 시퀀스 타이머 간격(ms) -#define POWER_ON_THRESHOLD 350 // power button hold threshold(off -> on) -#define POWER_OFF_THRESHOLD 500 // power button hold threshold(on -> off) +#define POWER_ON_THRESHOLD 220 // power button hold threshold(off -> on) +#define POWER_OFF_THRESHOLD 333 // power button hold threshold(on -> off) +#define BOND_RESET_NOTICE_THRESHOLD (5000 / POWER_ON_DELAY) // 5s long press bond reset notice #define BOND_RESET_THRESHOLD (15000 / POWER_ON_DELAY) // 15s long press bond reset static const struct gpio_dt_spec power_hold = GPIO_DT_SPEC_GET(POWER_HOLD_NODE, gpios); // 전원 유지 출력