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