修改等待时间 rlx

This commit is contained in:
xin
2022-02-24 15:18:05 +08:00
parent 87392bebac
commit 797a8014d0

View File

@ -97,7 +97,7 @@ lable1:
QByteArray tempbuf = optoskyserial->readAll();
data.append(tempbuf);
if (time.elapsed() > 10000)
if (time.elapsed() > 100000)
{
logout::out("long time no data retrun ");
return false;
@ -117,7 +117,7 @@ lable1:
optoskyserial->waitForReadyRead(50);
data.append(optoskyserial->readAll());
if (time.elapsed() > 50000)
if (time.elapsed() > 150000)
{
logout::out("long time no data retrun " );
return false;