From c484cbb09d445e2ab30ea011c6d2ffd87202bb26 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期五, 23 十月 2020 18:05:34 +0800
Subject: [PATCH] 添加可用户配置的评判参数。
---
lib/src/main/cpp/test_items/turn_a90.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/lib/src/main/cpp/test_items/turn_a90.cpp b/lib/src/main/cpp/test_items/turn_a90.cpp
index b0777ea..be8b131 100644
--- a/lib/src/main/cpp/test_items/turn_a90.cpp
+++ b/lib/src/main/cpp/test_items/turn_a90.cpp
@@ -20,8 +20,6 @@
using namespace std;
-const uint32_t STOP_CAR_TIME = D_SEC(2);
-
static bool testing;
static int mapIndex;
@@ -101,7 +99,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.turn_a90_pause_criteria && !reportStopCarTimeout) {
// 鍋滆溅瓒�2绉掞紝姣忔鎵�5鍒�
AddExamFault(31, rtkTime);
DEBUG("涓�斿仠杞�");
--
Gitblit v1.8.0