From d05c25aa4823e9d2aa812e9c0e3d1d66bb9861dd Mon Sep 17 00:00:00 2001
From: fctom1215 <fctom1215@outlook.com>
Date: 星期六, 29 八月 2020 10:47:17 +0800
Subject: [PATCH] 坐标

---
 lib/src/main/cpp/driver_test.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/src/main/cpp/driver_test.cpp b/lib/src/main/cpp/driver_test.cpp
index 08fbfbd..e15aaa6 100644
--- a/lib/src/main/cpp/driver_test.cpp
+++ b/lib/src/main/cpp/driver_test.cpp
@@ -513,7 +513,8 @@
 
     if (TimeGetDiff(rtkTime, &cTime) >= D_SEC(3)) {
         cTime = *rtkTime;
-        DEBUG("ENGINE_RPM %d OBD_SPEED %f SPEED %f",
+        DEBUG("GEAR %d RPM %d OBD_SPEED %f SPEED %f",
+                ReadCarStatus(GEAR) - GEAR_N,
                 ReadCarStatus(ENGINE_RPM),
               ((double)ReadCarStatus(OBD_SPEED)) / 10.0,
               speed * 3.6);

--
Gitblit v1.8.0