kopia lustrzana https://gitlab.com/sane-project/backends
- fix 'commit scan' value. Should fix 150/1200 dpi scan problems
for HP4400 with sensor type 2merge-requests/1/head
rodzic
b1be8ec61f
commit
12d1b49896
|
@ -1,3 +1,6 @@
|
|||
2008-11-20 Stéphane Voltz <stef.dev@free.fr>
|
||||
* backend/rts8891.c: fixes 'commit scan value' for HP4400.
|
||||
|
||||
2008-11-20 Stéphane Voltz <stef.dev@free.fr>
|
||||
* backend/rts8891.c: calibration fixes for HP4400 sensor type 3.
|
||||
|
||||
|
|
|
@ -2757,6 +2757,7 @@ init_options (struct Rts8891_Session *session)
|
|||
session->opt[OPT_ADVANCED_GROUP].desc = "";
|
||||
session->opt[OPT_ADVANCED_GROUP].type = SANE_TYPE_GROUP;
|
||||
session->opt[OPT_ADVANCED_GROUP].cap = SANE_CAP_ADVANCED;
|
||||
session->opt[OPT_ADVANCED_GROUP].size = 0;
|
||||
session->opt[OPT_ADVANCED_GROUP].constraint_type = SANE_CONSTRAINT_NONE;
|
||||
|
||||
/* lamp on */
|
||||
|
@ -6357,7 +6358,8 @@ send_calibration_data (struct Rts8891_Session *session)
|
|||
}
|
||||
|
||||
/* signals color format from hardware */
|
||||
format = rts8891_data_format (dev->xdpi);
|
||||
/* XXX STEF XXX format = rts8891_data_format (dev->xdpi); */
|
||||
format= dev->regs[0xd3];
|
||||
status = sanei_rts88xx_write_reg (dev->devnum, 0xd3, &format);
|
||||
|
||||
/* for some reason, we have to add 6 to the size for the first write */
|
||||
|
|
Ładowanie…
Reference in New Issue