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) {