This commit is contained in:
hm
2020-08-08 21:07:33 +08:00
parent 25254c4ee1
commit 02041fcf85
15 changed files with 83 additions and 353 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ void commandprocess::WriteStateMachine(void)
}
else if(step == 1)//等待返回
{
if((QTime::currentTime().msecsSinceStartOfDay() - time) > 5000)
if((QTime::currentTime().msecsSinceStartOfDay() - time) > sendTimeout)
{
timeout_count ++;
step = 0;//返回上一个步骤