From 8cc1c91bc17349b1b24a05e2c01a80f9d26b7987 Mon Sep 17 00:00:00 2001 From: lijie Date: Wed, 16 Jul 2025 14:08:57 +0800 Subject: [PATCH] "genxin" --- src/SensorIS11.cpp | 1 + src/gaoguangpu.code-workspace | 3 ++- src/main.cpp | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SensorIS11.cpp b/src/SensorIS11.cpp index 201470e..22136a6 100644 --- a/src/SensorIS11.cpp +++ b/src/SensorIS11.cpp @@ -1190,6 +1190,7 @@ void SensorIS11::save_dingbiao(uint8_t * data) { return; } + } else if(IS11_datastructure->direction == 1) //down { diff --git a/src/gaoguangpu.code-workspace b/src/gaoguangpu.code-workspace index 6b1f9cc..20d7c55 100644 --- a/src/gaoguangpu.code-workspace +++ b/src/gaoguangpu.code-workspace @@ -56,7 +56,8 @@ "streambuf": "cpp", "cinttypes": "cpp", "ratio": "cpp", - "thread": "cpp" + "thread": "cpp", + "chrono": "cpp" } } } \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 4e1445d..62167e9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2075,6 +2075,7 @@ void json_command() else if(doc["command"] == "get_fanshelv_gain") { send_dingbiao("/dingbiao/fanshelv_gain.bin"); + } //command error else