This commit is contained in:
parent
e3fc225fa0
commit
168892440a
|
@ -1074,7 +1074,7 @@ void hg_scanner_239::thread_get_dves_image(void)
|
||||||
if (ret == SCANNER_ERR_TIMEOUT)
|
if (ret == SCANNER_ERR_TIMEOUT)
|
||||||
{
|
{
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(400));
|
std::this_thread::sleep_for(std::chrono::milliseconds(400));
|
||||||
if (img_conf_.resolution_dst == 600.0 && sw.elapsed_s() > 60 && !is_auto_paper_scan)
|
if (sw.elapsed_s() > 60 && !is_auto_paper_scan)
|
||||||
{
|
{
|
||||||
status_ = ret;
|
status_ = ret;
|
||||||
notify_ui_working_status(hg_log::lang_load(ID_STATU_DESC_SCANNER_ERR_DEVICE_GET_IMAGE_OUTTIME), SANE_EVENT_ERROR, ret); // 取图通信超时
|
notify_ui_working_status(hg_log::lang_load(ID_STATU_DESC_SCANNER_ERR_DEVICE_GET_IMAGE_OUTTIME), SANE_EVENT_ERROR, ret); // 取图通信超时
|
||||||
|
|
Loading…
Reference in New Issue