From 10e4ece2f9c58fffc4ab9c3c2c5be95941005888 Mon Sep 17 00:00:00 2001
From: endian11 <Dana_Lee1016@126.com>
Date: 星期一, 06 一月 2020 11:36:11 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/endian11/DriveJudge

---
 lib/src/main/cpp/rtk_platform/parse_net.cpp |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/src/main/cpp/rtk_platform/parse_net.cpp b/lib/src/main/cpp/rtk_platform/parse_net.cpp
index 4925d8e..8ab1330 100644
--- a/lib/src/main/cpp/rtk_platform/parse_net.cpp
+++ b/lib/src/main/cpp/rtk_platform/parse_net.cpp
@@ -369,10 +369,7 @@
         }
         case ID_PC_RTK_DOWNLOAD:
             DEBUG("ID_PC_RTK_DOWNLOAD");
-            // 姹囨姤缁欏崟鐗囨満
-            if (length > 0) {
-                SendRtkToMcu(data, length);
-            }
+            ReceivedRtk(data, length);
             break;
         default:
             break;
@@ -936,6 +933,7 @@
     uint8_t data[MAX_CONTENT_SIZE];
     int x = 0;
 
+    data[x++] = 0;
     data[x++] = gps_status;
     data[x++] = BREAK_UINT32(latitude, 3);
     data[x++] = BREAK_UINT32(latitude, 2);

--
Gitblit v1.8.0