From a1750f172c28e19df54b6ca29ab5eb012a2373fe Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期四, 17 十月 2024 15:51:56 +0800
Subject: [PATCH] 加入低功耗,成功实现4G休眠唤醒,有小概率偶发性手环解绑后马达震动问题,打印log偶发性末尾输出有方块未解决

---
 keil/include/drivers/mk_rtc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/keil/include/drivers/mk_rtc.c b/keil/include/drivers/mk_rtc.c
index c34929f..d1e2829 100644
--- a/keil/include/drivers/mk_rtc.c
+++ b/keil/include/drivers/mk_rtc.c
@@ -187,7 +187,7 @@
     }
 
     if (time->year < 1970 || time->month < 1 || time->month > 12 || time->day < 1 || time->day > rtc_month_days(time->month, time->year) || time->hour >= 24 ||
-        time->minute >= 60 || time->second >= 60)
+            time->minute >= 60 || time->second >= 60)
     {
         return DRV_ERROR;
     }

--
Gitblit v1.9.3