From f44a16e4dfb664beb54f523eedabf19322caab7c Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期二, 29 十月 2024 15:56:05 +0800 Subject: [PATCH] 车载手环V1.11版本,解决adc采集总是100%问题,修改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 9c47e38..c13d0b2 100644 --- a/keil/include/src/gps.c +++ b/keil/include/src/gps.c @@ -7,7 +7,6 @@ uint8_t gps_power_state,gps_uwb_flag,gps_4g_flag,gps_timeout_flag,gps_need_data_flag = 1; void GPS_Poll(void) { - if(gps_4g_flag||gps_uwb_flag) { gps_power_state = 1; //打开GPS电源 if(!gps_timeout_flag) { @@ -52,6 +51,7 @@ gps_timeout_flag=0; gps_need_data_flag=1; } + } void GpsConrol(uint8_t flag_4g_uwb,uint8_t open_close) { -- Gitblit v1.9.3