From 695b64f8ebfdacec47ef038be75e58678c061a64 Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Thu, 17 Aug 2023 14:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=20=E5=9B=BE?= =?UTF-8?q?=E5=83=8F=E7=AE=97=E6=B3=95=E6=B5=81=E7=A8=8B=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hgdriver/hgdev/hg_scanner.cpp b/hgdriver/hgdev/hg_scanner.cpp index 1f32248..12b6b8b 100644 --- a/hgdriver/hgdev/hg_scanner.cpp +++ b/hgdriver/hgdev/hg_scanner.cpp @@ -234,7 +234,7 @@ hg_scanner::hg_scanner(ScannerSerial serial, const char* dev_name, usb_io* io, i thread_devslock_handle_.reset(new std::thread(&hg_scanner::thread_devslock_handle, this)); #endif - ImagePrc_pHandle_ = nullptr; // hg_imgproc::init(pid_, isx86_Advan_);; + ImagePrc_pHandle_ = hg_imgproc::init(pid_, isx86_Advan_); } hg_scanner::~hg_scanner() { @@ -1077,7 +1077,7 @@ void hg_scanner::thread_handle_image_process(void) { if (!ImagePrc_pHandle_) { - ImagePrc_pHandle_ = hg_imgproc::init(pid_, isx86_Advan_); + //ImagePrc_pHandle_ = hg_imgproc::init(pid_, isx86_Advan_); if (!ImagePrc_pHandle_) { VLOG_MINI_1(LOG_LEVEL_FATAL, "[thread_handle_image_process]:Get Image Process is NULL pid is %d.\n", pid_);