kopia lustrzana https://gitlab.com/sane-project/backends
don't use color filter for gl646 cis scanners since we're using true gray
rodzic
4c2c9cd9f3
commit
fc11d2ebea
|
@ -5280,6 +5280,12 @@ init_options (Genesys_Scanner * s)
|
||||||
s->opt[OPT_COLOR_FILTER].constraint.string_list = color_filter_list;
|
s->opt[OPT_COLOR_FILTER].constraint.string_list = color_filter_list;
|
||||||
s->val[OPT_COLOR_FILTER].s = strdup ("Green");
|
s->val[OPT_COLOR_FILTER].s = strdup ("Green");
|
||||||
|
|
||||||
|
/* for GL646 cis scanners we're using true gray so ther is no filter */
|
||||||
|
if (model->asic_type == GENESYS_GL646 && model->is_cis)
|
||||||
|
{
|
||||||
|
s->opt[OPT_COLOR_FILTER].cap = SANE_CAP_INACTIVE;
|
||||||
|
}
|
||||||
|
|
||||||
/* Powersave time (turn lamp off) */
|
/* Powersave time (turn lamp off) */
|
||||||
s->opt[OPT_LAMP_OFF_TIME].name = "lamp-off-time";
|
s->opt[OPT_LAMP_OFF_TIME].name = "lamp-off-time";
|
||||||
s->opt[OPT_LAMP_OFF_TIME].title = SANE_I18N ("Lamp off time");
|
s->opt[OPT_LAMP_OFF_TIME].title = SANE_I18N ("Lamp off time");
|
||||||
|
|
Ładowanie…
Reference in New Issue