kopia lustrzana https://gitlab.com/sane-project/backends
add little move at probe time
rodzic
d8738b50ce
commit
a3274977cb
|
@ -1,6 +1,6 @@
|
||||||
/* sane - Scanner Access Now Easy.
|
/* sane - Scanner Access Now Easy.
|
||||||
|
|
||||||
Copyright (C) 2010 Stéphane Voltz <stef.dev@free.fr>
|
Copyright (C) 2010-2011 Stéphane Voltz <stef.dev@free.fr>
|
||||||
|
|
||||||
|
|
||||||
This file is part of the SANE package.
|
This file is part of the SANE package.
|
||||||
|
@ -3439,6 +3439,9 @@ gl847_init (Genesys_Device * dev)
|
||||||
/* set up hardware and registers */
|
/* set up hardware and registers */
|
||||||
RIE (gl847_cold_boot (dev));
|
RIE (gl847_cold_boot (dev));
|
||||||
|
|
||||||
|
/* move head away from park position */
|
||||||
|
gl847_feed (dev, 300);
|
||||||
|
|
||||||
/* now hardware part is OK, set up device struct */
|
/* now hardware part is OK, set up device struct */
|
||||||
FREE_IFNOT_NULL (dev->white_average_data);
|
FREE_IFNOT_NULL (dev->white_average_data);
|
||||||
FREE_IFNOT_NULL (dev->dark_average_data);
|
FREE_IFNOT_NULL (dev->dark_average_data);
|
||||||
|
|
Ładowanie…
Reference in New Issue