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/src/gps.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keil/include/src/gps.c b/keil/include/src/gps.c index 94770f2..e0428bf 100644 --- a/keil/include/src/gps.c +++ b/keil/include/src/gps.c @@ -1,10 +1,10 @@ #include "board.h" -#define GPS_OPEN_TIME_OUT 240 +#define GPS_OPEN_TIME_OUT 60 #define GPS_RESTART_TIME1 1200 #define GPS_RESTART_TIME2 120 extern uint16_t gps_wait_count; -uint8_t gps_power_state,gps_uwb_flag,gps_4g_flag = 1,gps_timeout_flag,gps_need_data_flag = 1; +uint8_t gps_power_state,gps_uwb_flag,gps_4g_flag,gps_timeout_flag,gps_need_data_flag = 1; void GPS_Poll(void) { -- Gitblit v1.9.3