From 7acebfc728dbf634f0ca620143f5fd38c6269b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=5F666?= <13089258+pony-six-hundred-and-sixty-six@user.noreply.gitee.com> Date: Mon, 20 Jan 2025 08:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=A3=80=E4=BF=9D=E6=8C=81=E5=9C=A87s?= =?UTF-8?q?,=E9=A3=8E=E6=9C=BA=E8=BD=AC3s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/applications/main.c b/applications/main.c index cada980..611a6b2 100644 --- a/applications/main.c +++ b/applications/main.c @@ -292,12 +292,12 @@ int main (void) if (SysControl.last_status == kSelfCheckEvent) { - rt_thread_mdelay (5000); + rt_thread_mdelay (3500); LOG_I ("自检电磁阀动作"); EMV_CLOSE_VALVE; LOG_I ("自检风机动作"); relay_state_flag = 1; - rt_thread_mdelay (500); + rt_thread_mdelay (3000); relay_state_flag = 0; } if (H308.detection_flag == kH308Alarm) @@ -346,9 +346,6 @@ int main (void) rt_thread_mdelay(5000); LOG_D("EMV_CLOSE_VALVE 2"); EMV_CLOSE_VALVE; - rt_thread_mdelay(5000); - LOG_D("EMV_CLOSE_VALVE 3"); - EMV_CLOSE_VALVE; } else if (received_event & Get_Sys_Event_Flag (kAlarmRcyEvent)) // 报警恢复 {