From 16c0ec1a59762e9c6e83ce403ca6e85b4689b570 Mon Sep 17 00:00:00 2001 From: 1624952103 Date: Sat, 9 May 2026 17:56:45 +0800 Subject: [PATCH] =?utf8?q?hp4570=E5=A2=9E=E5=8A=A0=E5=AE=9A=E6=97=B6?= =?utf8?q?=E5=96=82=E7=8B=97=E9=87=8D=E7=BD=AE(=E8=A1=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/zhihui/services/battery/service/battery_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/zhihui/services/battery/service/battery_service.cpp b/code/sdk/zhihui/services/battery/service/battery_service.cpp index 65eb5413c..e26859dbc 100644 --- a/code/sdk/zhihui/services/battery/service/battery_service.cpp +++ b/code/sdk/zhihui/services/battery/service/battery_service.cpp @@ -599,12 +599,12 @@ static void battery_check_task(void *arg) { g_charge_wdt_sec_counter = 0; #if defined(ENABLE_HP4570) - hp4570n_wdt_rst(); if (hp4570n_read_status_wdt_fault()) { PRINT("[battery] HP4570 WDT fault, hp4570n_reset()\r\n"); hp4570n_reset(); } + hp4570n_wdt_rst(); #elif defined(ENABLE_SGM41562) sgm41562_wdt_rst(); #endif -- 2.17.1