From fdcee9c1c3797c02b1f24cb4ee0a93501839aa9e Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Tue, 9 May 2023 17:39:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=20stop=20=E6=97=B6=E5=80=99?= =?UTF-8?q?=E7=9A=84=E7=BA=BF=E7=A8=8B=E7=9D=A1=E7=9C=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner_239.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hgdriver/hgdev/hg_scanner_239.cpp b/hgdriver/hgdev/hg_scanner_239.cpp index f7afeb0..1866ca3 100644 --- a/hgdriver/hgdev/hg_scanner_239.cpp +++ b/hgdriver/hgdev/hg_scanner_239.cpp @@ -1221,10 +1221,10 @@ void hg_scanner_239::thread_get_dves_image(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(5000)); - //else - // std::this_thread::sleep_for(std::chrono::milliseconds(2000)); + if (img_conf_.resolution_dst > 200 && is_quality_ == IMG_QUALITY) //删除这段代码,你可能需要考虑一下后果 + std::this_thread::sleep_for(std::chrono::milliseconds(5000)); + else + std::this_thread::sleep_for(std::chrono::milliseconds(2000)); while (get_image_count() > 0) {