Merge branch 'lide80-reduce-dark-area-offset' into 'master'

backend/genesys_gl841: Reduce extra dark area offset for Lide 80

See merge request sane-project/backends!9
merge-requests/29/head
Gerhard Jäger 2018-10-11 07:34:14 +00:00
commit f633bad6ec
1 zmienionych plików z 11 dodań i 2 usunięć

Wyświetl plik

@ -4359,8 +4359,17 @@ gl841_init_regs_for_shading (Genesys_Device * dev)
if (dev->model->motor_type == MOTOR_CANONLIDE80)
{
ydpi = gl841_get_dpihw(dev);
/* get over extra dark area for this model */
starty = 140;
/* get over extra dark area for this model.
It looks like different devices have dark areas of different width
due to manufacturing variability. The initial value of starty was 140,
but it moves the sensor almost past the dark area completely in places
on certain devices.
On a particular device the black area starts at roughly position
160 to 230 depending on location (the dark area is not completely
parallel to the frame).
*/
starty = 70;
}
dev->calib_channels = 3;