don't use color filter for gl646 cis scanners since we're using true gray

merge-requests/1/head
Stphane Voltz 2009-08-04 07:44:43 +02:00
rodzic 4c2c9cd9f3
commit fc11d2ebea
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -5280,6 +5280,12 @@ init_options (Genesys_Scanner * s)
s->opt[OPT_COLOR_FILTER].constraint.string_list = color_filter_list;
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) */
s->opt[OPT_LAMP_OFF_TIME].name = "lamp-off-time";
s->opt[OPT_LAMP_OFF_TIME].title = SANE_I18N ("Lamp off time");