修正航线有多条连线的bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user