fctom1215
2020-03-10 e5e41dec2d41651c7160662ecf43325d49b07b66
lib/src/main/cpp/driver_test.cpp
@@ -374,9 +374,9 @@
void SetDummyLightExam(int n, struct dummy_light_exam *cfg)
{
    DEBUG("获取模拟路考灯光测试项目");
    DEBUG("获取模拟路考灯光测试项目 N = %d %d", n, TestStart);
    if (TestStart) return;
//    if (TestStart) return;
    if (DummyLightContent != NULL) {
        free(DummyLightContent);
@@ -389,6 +389,8 @@
    for (int i = 0; i < n; i++) {
        DummyLightContent[i] = cfg[i];
    }
    StartDummyLightExam(DummyLightContent, DummyLightContentSize);
}
void StartDriverExam(int start, int type)
@@ -397,6 +399,7 @@
    DEBUG("++++++++++++考试启动 start %d type %d+++++++++++++", start, type);
    if (start == 0) {
        DEBUG("结束考试");
//        CurrExamMapIndex = -1;
//        TestStart = false;
//        CommTestStart(false);
@@ -419,6 +422,7 @@
    if (!err) {
        if (!TestStart) {
            DEBUG("启动考试");
            ExamFaultList.clear();
            examFaultIndex = 0;