From f1a595dac1552459262d70338aedd589a237f059 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 25 Jul 2023 14:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4439=E6=A0=A1=E6=AD=A3?= =?UTF-8?q?=E5=AE=8C=E5=90=8E=E6=89=AB=E5=9B=BE=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner_239.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hgdriver/hgdev/hg_scanner_239.cpp b/hgdriver/hgdev/hg_scanner_239.cpp index f718bf7..5c61737 100644 --- a/hgdriver/hgdev/hg_scanner_239.cpp +++ b/hgdriver/hgdev/hg_scanner_239.cpp @@ -1105,6 +1105,7 @@ void hg_scanner_239::thread_correction(void) { if (sw.elapsed_s() > 10) { + is_auto_falt = false; status_ = SCANNER_ERR_DEVICE_AUTO_FAIL_OVER; //notify_ui_working_status(hg_log::lang_load(ID_STATU_DESC_SCANNER_ERR_DEVICE_FAIL_OUTTIME), SANE_EVENT_ERROR, ret); // 通信超时 VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "设备校正超时 '%s'\n", hg_scanner_err_name(status_)); @@ -1132,6 +1133,7 @@ void hg_scanner_239::thread_correction(void) if (info->Code == 4) { + is_auto_falt = false; status_ = SCANNER_ERR_DEVICE_AUTO_FAIL_OVER; //notify_ui_working_status(buf, SANE_EVENT_STATUS, status_); break;