From e5ec6ffc2fa0c07785c9d797c3fd74fd3031059f Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Thu, 23 May 2024 20:06:25 +0800
Subject: [PATCH] 加了几个远传接收数据处理
---
Soft/system_general_para.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Soft/system_general_para.h b/Soft/system_general_para.h
index e12e8ae..c12aa50 100644
--- a/Soft/system_general_para.h
+++ b/Soft/system_general_para.h
@@ -134,6 +134,9 @@
#define DECIMAL_2_BCD(__DECIMAL__) ((__DECIMAL__ / 16) * 10 + __DECIMAL__ % 16)
+/*ÿ��0��*/
+#define DAILY_ZERO ((&sys_clockBCD_g)->hour == 0 && (&sys_clockBCD_g)->min == 0 && (&sys_clockBCD_g)->sec == 0 ? SET : RESET)
+
// ��С��ת��
#define BSWAP_16(x) ((x & 0x00ff) << 8) | \
((x & 0xff00) >> 8)
@@ -219,5 +222,7 @@
FlagStatus IO_JitterEliminationCheck(GPIO_Type* GPIOx, uint32_t GPIO_Pin,uint16_t delay_time_ms,BitAction bit_status);
+int Datecmp(const uint8_t *pDate1, const uint8_t *pDate2);
+
#endif
--
Gitblit v1.9.3