From 85acf2322f2486e35d2fb4098e7d8e28f868fce5 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Sat, 13 Aug 2022 16:46:28 +0800 Subject: [PATCH] =?UTF-8?q?increase=20sub=20version;=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E5=90=8E=E7=9A=84=E7=AD=89=E5=BE=85=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- hgdriver/hgdev/hg_scanner_239.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 257cc79..283ca87 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ cpu=$(arch) #cpu架构 sys=$(cat /etc/issue) sys=${sys%% *} #操作系统 mainverstr="s/ver_1/4/g" #版本控制 -minver="18" +minver="19" minverstr="s/ver_2/" verstr3="s/ver_3/" ver3=10 diff --git a/hgdriver/hgdev/hg_scanner_239.cpp b/hgdriver/hgdev/hg_scanner_239.cpp index b584049..392a654 100644 --- a/hgdriver/hgdev/hg_scanner_239.cpp +++ b/hgdriver/hgdev/hg_scanner_239.cpp @@ -1638,9 +1638,9 @@ void hg_scanner_239::thread_handle_usb_read(void) // fetch all buffered images and exit ... //while(!is_dev_image_process_done()) if (img_conf_.resolution_dst > 200 && is_quality_ == IMG_QUALITY) - std::this_thread::sleep_for(std::chrono::milliseconds(2000)); + std::this_thread::sleep_for(std::chrono::milliseconds(5000)); else - std::this_thread::sleep_for(std::chrono::milliseconds(1000)); + std::this_thread::sleep_for(std::chrono::milliseconds(2000)); while (get_image_count() > 0) {