300 302设备600dpi屏蔽最大扫描尺寸
This commit is contained in:
parent
3faed87207
commit
7da6736e0e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue