This commit is contained in:
parent
fc016443cf
commit
6a6b24d07a
|
@ -1355,7 +1355,7 @@ void hg_scanner_239::thread_get_dves_image(void)
|
||||||
|
|
||||||
if (ret == SCANNER_ERR_TIMEOUT)
|
if (ret == SCANNER_ERR_TIMEOUT)
|
||||||
{
|
{
|
||||||
if (sw.elapsed_s() > 120 && !is_auto_scan() && (get_status() & 0x03) == 0)
|
if (sw.elapsed_s() > 120 && !is_auto_scan())
|
||||||
{
|
{
|
||||||
status_ = ret;
|
status_ = ret;
|
||||||
notify_ui_working_status(from_default_language(STATU_DESC_SCANNER_ERR_DEVICE_GET_IMAGE_OUTTIME), SANE_EVENT_ERROR, ret); // 取图通信超时
|
notify_ui_working_status(from_default_language(STATU_DESC_SCANNER_ERR_DEVICE_GET_IMAGE_OUTTIME), SANE_EVENT_ERROR, ret); // 取图通信超时
|
||||||
|
|
Loading…
Reference in New Issue