From fa6053f85287163f6e2d5dba690bec05cbc95f4a Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Fri, 07 Jun 2024 17:00:49 +0800
Subject: [PATCH] 增加阀控事件记录及修改阀控命令

---
 Function/POWER_MANAGE/power_manage.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Function/POWER_MANAGE/power_manage.c b/Function/POWER_MANAGE/power_manage.c
index 4a21a43..a06ed1b 100644
--- a/Function/POWER_MANAGE/power_manage.c
+++ b/Function/POWER_MANAGE/power_manage.c
@@ -493,6 +493,7 @@
 				GPIO_EXTI_Init( HWIDO_EX_PWR_PORT, HWIDO_EX_PWR_PIN, EXTI_RISING, ENABLE);
 				
 				up_comm_uart_enable();//���ʱʹ����λ������
+				uart_ctrl_para_g.UP_COMM_rxto_flag = RESET;
 				lcd_first_wake_up_flag_g = SET;  //�����������Ļ�����ֳ���
 				
 				//���ر�
@@ -515,6 +516,7 @@
 	{
 		GPIO_EXTI_Init( HWIDO_EX_PWR_PORT, HWIDO_EX_PWR_PIN, EXTI_RISING, DISABLE);
 		EX_PWR_OFF;
+		pwr_vol_p->ex_pwr_in_cnt = 0;
 		//?������仯��������籨�����⴦���Ƴ����������뷧�أ�����ʾ������
 		if(__SYS_STATUS_BYTES_GET(power_state) ==SET){
 			__SYS_STATUS_BYTES_STATUS(power_state, RESET, ALARM_ID_NORMAL);//��״̬�����뱨����ʾ

--
Gitblit v1.9.3