From 797a8014d08c8f017c3ef70ac7153b5ea0722eb1 Mon Sep 17 00:00:00 2001 From: xin Date: Thu, 24 Feb 2022 15:18:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=89=E5=BE=85=E6=97=B6?= =?UTF-8?q?=E9=97=B4=20rlx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- othersoft/shuttercali/source_rlx/sensor/OptoSkyType.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/othersoft/shuttercali/source_rlx/sensor/OptoSkyType.cpp b/othersoft/shuttercali/source_rlx/sensor/OptoSkyType.cpp index 23ff7aa..262b6a5 100644 --- a/othersoft/shuttercali/source_rlx/sensor/OptoSkyType.cpp +++ b/othersoft/shuttercali/source_rlx/sensor/OptoSkyType.cpp @@ -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;