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) {