300 302设备600dpi屏蔽最大扫描尺寸

This commit is contained in:
yangjiaxuan 2023-11-16 17:00:32 +08:00
parent 3faed87207
commit 7da6736e0e
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}