This commit is contained in:
13038267101 2023-11-27 09:27:01 +08:00
commit 4c75e42f01
1 changed files with 2 additions and 1 deletions

View File

@ -2048,8 +2048,9 @@ int hg_scanner::setting_resolution(void* data, long* len)
int max_papers[3] = { PAPER_MAX_SIZE ,PAPER_MAX_SIZE_CLIP , PAPER_TRIGEMINY }; int max_papers[3] = { PAPER_MAX_SIZE ,PAPER_MAX_SIZE_CLIP , PAPER_TRIGEMINY };
if (pid_ == 0x300 || pid_ == 0x302) if (pid_ == 0x300)
{ {
max_papers[1] = { -1 };
max_papers[2] = { -1 }; max_papers[2] = { -1 };
} }
//std::string now(setting_jsn_.at(SANE_STD_OPT_NAME_PAPER).at("range").dump()); //std::string now(setting_jsn_.at(SANE_STD_OPT_NAME_PAPER).at("range").dump());