From a3c194e003b0cfb272e153ff11c510e02c5f72cd Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期一, 25 五月 2020 18:32:11 +0800
Subject: [PATCH] 坐标

---
 lib/src/main/cpp/test_items2/stop_car.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/src/main/cpp/test_items2/stop_car.cpp b/lib/src/main/cpp/test_items2/stop_car.cpp
index 514b2e4..c52bcd8 100644
--- a/lib/src/main/cpp/test_items2/stop_car.cpp
+++ b/lib/src/main/cpp/test_items2/stop_car.cpp
@@ -69,7 +69,7 @@
     AppTimer_delete(PlayTTSTimeout);
 }
 
-int ExecuteStopCarExam(int index, road_t &road, const car_model *car,
+int ExecuteStopCarExam(road_t &road, const car_model *car,
                              LIST_CAR_MODEL &CarModelList, double speed, int moveDirect, const struct RtkTime *rtkTime) {
     if (ttsPlayEnd == 1) {
         ttsPlayEnd = 2;
@@ -78,7 +78,7 @@
     }
 
     if (ttsPlayEnd != 2)
-        return index;
+        return 1;
 
     uint32_t diff = TimeGetDiff(rtkTime->hh, rtkTime->mm, rtkTime->ss,
                                 rtkTime->mss * 10,
@@ -220,7 +220,7 @@
         }
     }
 
-    return index;
+    return 1;
 }
 
 static void PlayTTSTimeout(union sigval sig)

--
Gitblit v1.8.0