fctom1215
2020-03-10 4d625b8f7d4eb22209dba53cf19353d8aa7455ea
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) {