From 0653ca795e4f47ae39e7f760fd235baf706342ff Mon Sep 17 00:00:00 2001
From: zhangbo <zhangbo@qq.com>
Date: 星期五, 25 四月 2025 14:57:10 +0800
Subject: [PATCH] N303 功耗140ma 带PA常开接收,4G低功耗,添加了低功耗日志查询,休眠700微安修改了精致休眠唤醒bug

---
 keil/include/src/NTRIPApp.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/keil/include/src/NTRIPApp.c b/keil/include/src/NTRIPApp.c
index 747db91..948483a 100644
--- a/keil/include/src/NTRIPApp.c
+++ b/keil/include/src/NTRIPApp.c
@@ -16,6 +16,7 @@
 #include "string.h"
 #include "global_param.h"
 #include "Module.h"
+#include "DBG.h"
 
 #define CONNECT_RETRY_CNT               3
 #define CONNECT_RETRY_INTERVAL          30
@@ -128,9 +129,12 @@
         {
             l_u32RetryCnt = 0;
 
-            if(Uart_Send(UART_ID_GPS, _pu8Data, _u32Len) != HIDO_OK)
+            if(DBG_GetMode() == DBG_MODE_GPS)
             {
-                HIDO_Debug("RTK Data Send Error\r\n");
+                if(Uart_Send(UART_ID_DBG_GPS, _pu8Data, _u32Len) != HIDO_OK)
+                {
+                    HIDO_Debug("RTK Data Send Error\r\n");
+                }
             }
 
             HIDO_Debug("%uB RTK Data Sent\r\n", _u32Len);

--
Gitblit v1.9.3