分辨率改为RANGE
This commit is contained in:
parent
de718d727e
commit
428d567c0b
|
@ -1569,7 +1569,7 @@ void huagao_ds::init_support_caps(void)
|
||||||
if (!scanner_.get())
|
if (!scanner_.get())
|
||||||
return seqError();
|
return seqError();
|
||||||
std::vector<int> values;
|
std::vector<int> values;
|
||||||
value_limit limit = VAL_LIMIT_ENUM;
|
value_limit limit = VAL_LIMIT_RANGE;
|
||||||
int init = 0, now = 0;
|
int init = 0, now = 0;
|
||||||
GET_SANE_OPT(int, scanner_, resolution, &now, &init, &values, NULL);
|
GET_SANE_OPT(int, scanner_, resolution, &now, &init, &values, NULL);
|
||||||
switch (msg) {
|
switch (msg) {
|
||||||
|
|
Loading…
Reference in New Issue