yy1717
2020-10-23 c484cbb09d445e2ab30ea011c6d2ffd87202bb26
lib/src/main/cpp/test_items/driving_curve.cpp
@@ -18,8 +18,6 @@
#define DEBUG(fmt, args...)     LOGD("<driving_curve> <%s>: " fmt, __func__, ##args)
const uint32_t STOP_CAR_TIME = D_SEC(2);
static bool testing = false;
static int mapIndex = 0;
static uint32_t stopTimepoint = 0;
@@ -132,7 +130,7 @@
    } else if (moveDirect == 0) {
        uint32_t tp = TimeMakeComposite(rtkTime->hh, rtkTime->mm, rtkTime->ss, rtkTime->mss*10);
        if (tp - stopTimepoint >= STOP_CAR_TIME && !reportStopCarTimeout) {
        if (tp - stopTimepoint >= examParam.curve_pause_criteria && !reportStopCarTimeout) {
            // 停车超2秒,不合格
            AddExamFault(28, rtkTime);
            DEBUG("中途停车");