From 9a7a6d49f11a377622be54a8c13af8b0a96b7cdc 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 14:30:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/src/bsp_h308.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/src/bsp_h308.c b/bsp/src/bsp_h308.c index bedccc4..473b8bc 100644 --- a/bsp/src/bsp_h308.c +++ b/bsp/src/bsp_h308.c @@ -2,7 +2,7 @@ * @Author: mbw * @Date: 2024-11-14 10:21:04 * @LastEditors: mbw && 1600520629@qq.com - * @LastEditTime: 2025-01-17 10:46:51 + * @LastEditTime: 2025-01-20 14:30:22 * @FilePath: \JT-DT-YD4N02A_RTT_MRS-NT26K\bsp\src\bsp_h308.c * @Description: * @@ -223,7 +223,7 @@ static uint8_t H308_CheckData(void) uint8_t IS_H308_EndOfLife(void) { RTC_GetTime(); - if (RtcDateTime.year > 2035)//至少大于2035年再检测 + if (RtcDateTime.year >= 2035)//至少大于2035年再检测 { if (RTC_GetCounter() >= H308.expiration_seconds) {