From 91b0b7d13abe4cc13761fb09605f83256952d9ed Mon Sep 17 00:00:00 2001 From: BlueMatthew Date: Sat, 18 Nov 2023 17:24:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/buban104.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buban104.cpp b/src/buban104.cpp index d145681..fddfd0a 100644 --- a/src/buban104.cpp +++ b/src/buban104.cpp @@ -4713,7 +4713,7 @@ void ProvBuban104SendAIwithFloat(int commid, RTUMSG *rtumsg, int iGroupNo) commandbuf[10] = (u_char)(iaddr0 >> 8); // 应用服务数据单元公共地址 i += j; - if (flag == -1) + if (flag == 0) { i = iAllDataCount; }