From 6e20e848369d866623311c771d02ab3ed6d74de0 Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Mon, 26 Jun 2023 18:24:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4dps=E6=8B=86=E5=88=86?= =?UTF-8?q?=E5=92=8C=E5=A4=9A=E6=B5=81=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner_200.cpp | 2 +- hgdriver/hgdev/image_process.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hgdriver/hgdev/hg_scanner_200.cpp b/hgdriver/hgdev/hg_scanner_200.cpp index 354d43d..c444e76 100644 --- a/hgdriver/hgdev/hg_scanner_200.cpp +++ b/hgdriver/hgdev/hg_scanner_200.cpp @@ -466,7 +466,7 @@ int hg_scanner_200::writedown_device_configuration(bool type,setting_hardware::H d = &dsp_config_; if (is_multiout) { - d->params_dsp.color = image_prc_param_.bits.multi_out == MULTI_COLOR_AND_BW ? 0 : 1; + d->params_dsp.color = image_prc_param_.bits.multi_out == MULTI_GRAY_AND_BW ? 0 : 1; } else if ((image_prc_param_.bits.color_mode == COLOR_MODE_256_GRAY || image_prc_param_.bits.color_mode == COLOR_MODE_BLACK_WHITE) diff --git a/hgdriver/hgdev/image_process.cpp b/hgdriver/hgdev/image_process.cpp index 8cc422c..ce0dfc1 100644 --- a/hgdriver/hgdev/image_process.cpp +++ b/hgdriver/hgdev/image_process.cpp @@ -591,7 +591,7 @@ namespace hg_imgproc std::string filename ; int rotation01_ = 1; int rotation02_ = 1; - if((pid_ == 0x139 || pid_ == 0x239 || pid_ == 0x100 || pid_ == 0x200 || pid_ == 0x439) && (split3399 % 2 ==0) && img_conf_.is_duplex) + if((pid_ == 0x139 || pid_ == 0x239 || pid_ == 0x439) && (split3399 % 2 ==0) && img_conf_.is_duplex) { rotation01_ = 0; rotation02_ = 1;