From 8dbe00c8f961abb74c94f0743a9db9ab6c60a4c8 Mon Sep 17 00:00:00 2001 From: jxjajs Date: Tue, 7 Jan 2025 16:28:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E5=8F=96=E5=9B=BE=E7=89=87=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E9=94=99=E8=AF=AF=EF=BC=8C=E5=8C=85=E5=8F=B7=E4=B8=8D?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/SensorsProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/SensorsProtocol.cpp b/app/src/main/cpp/SensorsProtocol.cpp index c57bff12..69624008 100644 --- a/app/src/main/cpp/SensorsProtocol.cpp +++ b/app/src/main/cpp/SensorsProtocol.cpp @@ -1901,7 +1901,7 @@ void CameraPhotoPortDataProcess(SIO_PARAM_SERIAL_DEF *curserial) iNo = rtumsg.MsgData[i + 1] + rtumsg.MsgData[i] * 256; if((0xFF == rtumsg.MsgData[i+2]) && (3 == datalen)) { - curserial->SerialCmdidx = iNo + 1; + curserial->SerialCmdidx = iNo; break; }