From 77a0c7e176878fb71e056aa9223a66be74e18409 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 7 Nov 2023 18:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E6=8F=8F=E6=97=A0=E5=9B=BE=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=A6=82=E6=9E=9C=E4=B8=BA=E6=AD=A3=E5=B8=B8=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E5=88=99=E8=BF=94=E5=9B=9E=E6=AD=A3=E5=B8=B8=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner_239.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hgdriver/hgdev/hg_scanner_239.cpp b/hgdriver/hgdev/hg_scanner_239.cpp index 23c66b5..8207f3f 100644 --- a/hgdriver/hgdev/hg_scanner_239.cpp +++ b/hgdriver/hgdev/hg_scanner_239.cpp @@ -1487,6 +1487,9 @@ void hg_scanner_239::thread_get_dves_image(void) // reset_ = true; // ret = io_->reset(); // status_ = SCANNER_ERR_IO; + + if (status_ == SCANNER_ERR_DEVICE_STOPPED) + status_ = SCANNER_ERR_OK; } else if (status_ == SCANNER_ERR_TIMEOUT || status_ == SCANNER_ERR_IO || status_ == SCANNER_ERR_DEVICE_STOPPED) status_ = SCANNER_ERR_OK;