From 4322c14be2dd39e9199f002a0d3092543021fed2 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Wed, 3 Jan 2024 15:12:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=8F=8C=E5=BC=A0=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E5=9B=BE=E5=83=8F=E5=90=8E=E4=BB=8D=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E5=8F=8C=E5=BC=A0=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=9BBUG-874?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hgdriver/hgdev/hg_scanner.cpp b/hgdriver/hgdev/hg_scanner.cpp index 8b29916..d6e7e80 100644 --- a/hgdriver/hgdev/hg_scanner.cpp +++ b/hgdriver/hgdev/hg_scanner.cpp @@ -1171,6 +1171,9 @@ void hg_scanner::working_done(void*) if (!online_) status_ = SCANNER_ERR_DEVICE_NOT_FOUND; + if (double_paper_handle_ != DOUBLE_PAPEAR_STOP) + status_ = SCANNER_ERR_OK; + switch (status_) { case SCANNER_ERR_OK: