From b45fe21c1ae4689bb551efea21cee6e46a780380 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期四, 31 十月 2024 17:11:41 +0800 Subject: [PATCH] 修复充电灯指示休眠状态下不亮和闪烁问题,增加充电电量过低4Ggps关闭机制,增加充电到安全阈值后恢复4G,GPS工作逻辑,增加充电灯指示,增加静止休眠唤醒逻辑 --- keil/include/src/gps.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/keil/include/src/gps.c b/keil/include/src/gps.c index 82c4676..5093e76 100644 --- a/keil/include/src/gps.c +++ b/keil/include/src/gps.c @@ -7,7 +7,7 @@ #define GPS_RESTART_TIME3 30 //30s extern uint16_t gps_wait_count,g_com_map[COM_MAP_SIZE]; extern uint8_t flag_first_TCPconnect; -uint16_t gps_wait_count2; +extern uint16_t gps_wait_count2; uint16_t g_spsum,g_snum,ave_sp; uint8_t gps_power_state,gps_uwb_flag,gps_4g_flag,gps_timeout_flag,gps_need_data_flag = 1,gps_open_flag; void GPS_Poll(void) -- Gitblit v1.9.3