From 755f0e3a86e41e9e3cb98f36578b3199c6206e59 Mon Sep 17 00:00:00 2001
From: zhangbo <zhangbo@qq.com>
Date: 星期三, 23 四月 2025 11:14:46 +0800
Subject: [PATCH] 蓝牙现在通过PCA9555关闭使能,反初始化串口,拉低PCA中断脚,现在是0.8v

---
 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 ed5a68e..9121dd0 100644
--- a/keil/include/src/gps.c
+++ b/keil/include/src/gps.c
@@ -4,12 +4,12 @@
 #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)
 {
 
     if(gps_4g_flag||gps_uwb_flag) {
-
+        gps_power_state = 1;  //打开GPS电源
         if(!gps_timeout_flag) {
             if(gps_need_data_flag) {
                 gps_wait_count++;

--
Gitblit v1.9.3