From 77a7a59d01616ec5f321d72231fa1cfc5a407c07 Mon Sep 17 00:00:00 2001
From: fctom1215 <fctom1215@outlook.com>
Date: 星期四, 27 八月 2020 11:03:52 +0800
Subject: [PATCH] 坐标

---
 lib/src/main/cpp/test_common/car_sensor.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/src/main/cpp/test_common/car_sensor.cpp b/lib/src/main/cpp/test_common/car_sensor.cpp
index 7eaeef8..5301a21 100644
--- a/lib/src/main/cpp/test_common/car_sensor.cpp
+++ b/lib/src/main/cpp/test_common/car_sensor.cpp
@@ -157,7 +157,7 @@
     if (s->leftTurnLamp != Sensor.leftTurnLamp && s->leftTurnLamp != '#') {
         SensorChanged(SENSOR_LEFT_TURN_SIGNAL, BX(s->leftTurnLamp));
     }
-    if (s->rightTurnLamp != Sensor.leftTurnLamp && s->rightTurnLamp != '#') {
+    if (s->rightTurnLamp != Sensor.rightTurnLamp && s->rightTurnLamp != '#') {
         SensorChanged(SENSOR_RIGHT_TURN_SIGNAL, BX(s->rightTurnLamp));
     }
     if (s->fogLamp != Sensor.fogLamp && s->fogLamp != '#') {
@@ -169,7 +169,7 @@
     if (s->dippedBeamLamp != Sensor.dippedBeamLamp && s->dippedBeamLamp != '#') {
         SensorChanged(SENSOR_DIPPED_BEAM_LIGHT, BX(s->dippedBeamLamp));
     }
-    if (s->mainBeamLamp != Sensor.leftTurnLamp && s->mainBeamLamp != '#') {
+    if (s->mainBeamLamp != Sensor.mainBeamLamp && s->mainBeamLamp != '#') {
         SensorChanged(SENSOR_MAIN_BEAM_LIGHT, BX(s->mainBeamLamp));
     }
     if (s->seatBelt != Sensor.seatBelt && s->seatBelt != '#') {

--
Gitblit v1.8.0