From b73f32bc8ad86a7bb5f0739ac0fd7aa4c04cce98 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期三, 25 三月 2020 19:00:06 +0800
Subject: [PATCH] 加减档
---
lib/src/main/cpp/test_items/park_edge.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/src/main/cpp/test_items/park_edge.cpp b/lib/src/main/cpp/test_items/park_edge.cpp
index 2e18601..207d9e7 100644
--- a/lib/src/main/cpp/test_items/park_edge.cpp
+++ b/lib/src/main/cpp/test_items/park_edge.cpp
@@ -9,6 +9,7 @@
#include "../common/apptimer.h"
#include "../native-lib.h"
#include "../utils/xconvert.h"
+#include "../test_common/car_sensor.h"
#include <vector>
#include <cstdlib>
@@ -136,7 +137,7 @@
}
// 鍦ㄨ繖閲屾鏌ヨ浆鍚戠伅鐘舵��
- if (true) {
+ if (ReadCarStatus(TURN_SIGNAL_LAMP) != LEFT_TURN_LIGHT) {
// 涓嶅紑杞悜鐏紝鎵�10鍒�
AddExamFault(25, rtkTime);
DEBUG("鏈紑鍚浆鍚戠伅");
--
Gitblit v1.8.0