From 367515d792d493600b332b73af4ef7353837e197 Mon Sep 17 00:00:00 2001 From: endian11 <Dana_Lee1016@126.com> Date: 星期四, 21 一月 2021 10:58:41 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- lib/src/main/cpp/mcu/mcu_if.cpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/lib/src/main/cpp/mcu/mcu_if.cpp b/lib/src/main/cpp/mcu/mcu_if.cpp index b5924d6..10b9b7d 100644 --- a/lib/src/main/cpp/mcu/mcu_if.cpp +++ b/lib/src/main/cpp/mcu/mcu_if.cpp @@ -148,7 +148,11 @@ if (RxBufLen > 0) { // DEBUG("RECV LEN %d", RxBufLen); - ParseMcu(RxBuf, RxBufLen); + if (Virtual2IsConnected()) { + + } else { + ParseMcu(RxBuf, RxBufLen); + } RxBufLen = 0; } } -- Gitblit v1.8.0