increase sub version; 增加停止后的等待时间

This commit is contained in:
gb 2022-08-13 16:46:28 +08:00
parent f00878af6a
commit 85acf2322f
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ cpu=$(arch) #cpu架构
sys=$(cat /etc/issue) sys=$(cat /etc/issue)
sys=${sys%% *} #操作系统 sys=${sys%% *} #操作系统
mainverstr="s/ver_1/4/g" #版本控制 mainverstr="s/ver_1/4/g" #版本控制
minver="18" minver="19"
minverstr="s/ver_2/" minverstr="s/ver_2/"
verstr3="s/ver_3/" verstr3="s/ver_3/"
ver3=10 ver3=10

View File

@ -1638,9 +1638,9 @@ void hg_scanner_239::thread_handle_usb_read(void)
// fetch all buffered images and exit ... // fetch all buffered images and exit ...
//while(!is_dev_image_process_done()) //while(!is_dev_image_process_done())
if (img_conf_.resolution_dst > 200 && is_quality_ == IMG_QUALITY) 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 else
std::this_thread::sleep_for(std::chrono::milliseconds(1000)); std::this_thread::sleep_for(std::chrono::milliseconds(2000));
while (get_image_count() > 0) while (get_image_count() > 0)
{ {