From 615775b03a705507ce5b7a967bde8aafb5d77e28 Mon Sep 17 00:00:00 2001
From: fctom1215 <fctom1215@outlook.com>
Date: 星期四, 27 八月 2020 16:20:16 +0800
Subject: [PATCH] 坐标

---
 lib/src/main/cpp/driver_test.cpp           |   10 ++++++----
 lib/src/main/cpp/rtk_platform/platform.cpp |    2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/lib/src/main/cpp/driver_test.cpp b/lib/src/main/cpp/driver_test.cpp
index ec51233..8bfad32 100644
--- a/lib/src/main/cpp/driver_test.cpp
+++ b/lib/src/main/cpp/driver_test.cpp
@@ -402,6 +402,9 @@
             if (type == TEST_TYPE_ROAD_DUMMY_LIGHT) {
                 exam_dummy_light = 0;           //0
             }
+            if (type == TEST_TYPE_ROAD_TRUE_LIGHT) {
+                InitRoadExam(RoadMap);
+            }
             if (type == TEST_TYPE_AREA) {
                 InitAreaExam();
             }
@@ -575,9 +578,8 @@
 
                 cs[i] = cs_temp[i];
 
-                char buff[128];
-
-                sprintf(buff, "%s锛�%s", NAME[i], VALUE[ cs_temp[i] ]);
+//                char buff[128];
+//                sprintf(buff, "%s锛�%s", NAME[i], VALUE[ cs_temp[i] ]);
 //                PlayTTS(buff, NULL);
             }
         }
@@ -652,7 +654,7 @@
     }
 
     if (ExamType != TEST_TYPE_AREA) {
-        if (exam_dummy_light == 2) {
+        if (exam_dummy_light == 2 || ExamType == TEST_TYPE_ROAD_TRUE_LIGHT) {
             TestRoadGeneral(RoadMap, CarModel, CarModelList, speed, move, rtkTime);
         }
     } else {
diff --git a/lib/src/main/cpp/rtk_platform/platform.cpp b/lib/src/main/cpp/rtk_platform/platform.cpp
index c54e6cb..4a6bd58 100644
--- a/lib/src/main/cpp/rtk_platform/platform.cpp
+++ b/lib/src/main/cpp/rtk_platform/platform.cpp
@@ -311,7 +311,7 @@
         AppTimer_delete(RegisterPlatformTimeout);
         AppTimer_delete(LoginPlatformTimeout);
 
-        PlayTTS("鍩哄噯婧愭柇寮�", NULL);
+//        PlayTTS("鍩哄噯婧愭柇寮�", NULL);
     }
     if (events & PLATFORM_REGISTER_EVT) {
         DEBUG("PLATFORM_REGISTER_EVT");

--
Gitblit v1.8.0