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; }