From 6e3f1f560d618b37ee1a47fa2b0f682b70c3ef1c Mon Sep 17 00:00:00 2001 From: jinlicong <493886250@qq.com> Date: Wed, 19 Jun 2024 17:25:45 +0800 Subject: [PATCH] 增加OTA协议 --- Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h b/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h index e6e0f9e..a3ab2e6 100644 --- a/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h +++ b/Function/FLOW_METER_DATA_COLLECT/pulse_and_alarm_line.h @@ -6,7 +6,7 @@ //����������ʱ�� -#define PULSE_CHECK_DELAY_MS 10U +#define PULSE_CHECK_DELAY_MS 30U //���� @@ -24,8 +24,8 @@ #define LP_LOSE_CHECK_ENABLE GPIO_SetBits(LP_LOSE_CHECK_EN_PORT,LP_LOSE_CHECK_EN_PIN) #define LP_LOSE_CHECK_DISABLE GPIO_ResetBits(LP_LOSE_CHECK_EN_PORT,LP_LOSE_CHECK_EN_PIN) //������IO -#define LF_PULSE_INT_PORT GPIOA -#define LF_PULSE_INT_PIN GPIO_Pin_0 +#define LF_PULSE_INT_PORT GPIOC +#define LF_PULSE_INT_PIN GPIO_Pin_5 #define LF_PULSE_INT_IO_READ GPIO_ReadInputDataBit(LF_PULSE_INT_PORT, LF_PULSE_INT_PIN) -- Gitblit v1.9.3