This commit is contained in:
yangjiaxuan 2023-11-20 10:43:38 +08:00
parent 4c9dd9462b
commit 9ecaf00146
1 changed files with 3 additions and 3 deletions

View File

@ -2081,11 +2081,11 @@ int hg_scanner::setting_resolution(void* data, long* len)
#ifdef DYN_JSON_BETWEEN_PAPER_AND_DPI #ifdef DYN_JSON_BETWEEN_PAPER_AND_DPI
int max_papers[3] = { PAPER_MAX_SIZE ,PAPER_MAX_SIZE_CLIP , -1}; int max_papers[3] = { PAPER_MAX_SIZE ,PAPER_MAX_SIZE_CLIP , PAPER_TRIGEMINY };
if (pid_ != 0x300 || pid_ != 0x302) if (pid_ == 0x300 || pid_ == 0x302)
{ {
max_papers[2] = { PAPER_TRIGEMINY }; 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());