From e4424eb6b50d0300583c422dfb71d58e040f4b9e Mon Sep 17 00:00:00 2001 From: jinlicong <493886250@qq.com> Date: Tue, 11 Jun 2024 19:54:37 +0800 Subject: [PATCH] 继续测试优化 --- 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