修正航线有多条连线的bug

This commit is contained in:
2020-06-06 16:08:11 +08:00
parent ca0f9363fd
commit 5740ba1ed4
9 changed files with 253 additions and 230 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ void commandprocess::WriteStateMachine(void)
{
timeout_count ++;
step = 0;//返回上一个步骤
if(timeout_count > 5)//如果指令发5次还没发出去,那么结束发送
if(timeout_count > 0)//如果指令发1次还没发出去,那么结束发送
{
qDebug() << "command set value time out fail";
step = 0;