From 7da6736e0ed8d9305dba624737c5b1cce9221eaf Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Thu, 16 Nov 2023 17:00:32 +0800 Subject: [PATCH] =?UTF-8?q?300=20302=E8=AE=BE=E5=A4=87600dpi=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=9C=80=E5=A4=A7=E6=89=AB=E6=8F=8F=E5=B0=BA=E5=AF=B8?= 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 f77ce95..c2d83a1 100644 --- a/hgdriver/hgdev/hg_scanner.cpp +++ b/hgdriver/hgdev/hg_scanner.cpp @@ -1,4 +1,4 @@ -#include "hg_scanner.h" +#include "hg_scanner.h" #include "../wrapper/hg_log.h" #include "sane/sane_option_definitions.h" #include "scanner_setting.h" @@ -2074,7 +2074,7 @@ int hg_scanner::setting_resolution(void* data, long* len) VLOG_MINI_3(LOG_LEVEL_DEBUG_INFO, "Change resolution from %d to %d = %s\n", old, *((int*)data), hg_scanner_err_name(ret)); //*((int*)data) = resolution_; - if (!have_max_size || pid_ == 0x300 || pid_ == 0x302) + if (!have_max_size) { return ret; }