From 4d625b8f7d4eb22209dba53cf19353d8aa7455ea Mon Sep 17 00:00:00 2001
From: fctom1215 <fctom1215@outlook.com>
Date: 星期二, 10 三月 2020 17:47:13 +0800
Subject: [PATCH] 修改TTS播放。

---
 lib/src/main/cpp/driver_test.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/src/main/cpp/driver_test.cpp b/lib/src/main/cpp/driver_test.cpp
index bb73b52..94a5278 100644
--- a/lib/src/main/cpp/driver_test.cpp
+++ b/lib/src/main/cpp/driver_test.cpp
@@ -374,6 +374,8 @@
 
 void SetDummyLightExam(int n, struct dummy_light_exam *cfg)
 {
+    DEBUG("鑾峰彇妯℃嫙璺�冪伅鍏夋祴璇曢」鐩�");
+
     if (TestStart) return;
 
     if (DummyLightContent != NULL) {
@@ -392,18 +394,15 @@
 void StartDriverExam(int start, int type)
 {
     bool err = false;
+    DEBUG("++++++++++++鑰冭瘯鍚姩 start %d type %d+++++++++++++", start, type);
 
     if (start == 0) {
-        DEBUG("-------------缁撴潫鑰冭瘯----------------");
-
 //        CurrExamMapIndex = -1;
 //        TestStart = false;
 //        CommTestStart(false);
 //        MA_SendExamStatus(0, 0);
         return;
     }
-
-    DEBUG("+++++++++++++++寮�濮嬭�冭瘯++++++++++++++++++++");
 
     if (MapNum == 0) {
         err = true;
@@ -424,6 +423,7 @@
             examFaultIndex = 0;
 
             TestStart = true;
+            TestType = type;
             CommTestStart(true);
 
             if (type == TEST_TYPE_ROAD_DUMMY_LIGHT) {

--
Gitblit v1.8.0