diff options
Diffstat (limited to 'opt/sane/streifen.patch.new')
-rw-r--r-- | opt/sane/streifen.patch.new | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/opt/sane/streifen.patch.new b/opt/sane/streifen.patch.new new file mode 100644 index 0000000..7923e85 --- /dev/null +++ b/opt/sane/streifen.patch.new @@ -0,0 +1,19 @@ +diff --git a/backend/genesys.c b/backend/genesys.c +index e0ee9509..19b3a827 100644 +--- a/backend/genesys.c ++++ b/backend/genesys.c +@@ -2069,12 +2069,9 @@ genesys_white_shading_calibration (Genesys_Device * dev) + /* turn on motor and lamp power */ + dev->model->cmd_set->set_lamp_power (dev, dev->calib_reg, SANE_TRUE); + dev->model->cmd_set->set_motor_power (dev->calib_reg, motor); +- +- /* if needed, go back before doin next scan, by using rewind, registers and +- * slopes table are kept intact from previous scan */ +- if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK && dev->model->cmd_set->rewind) ++ if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK) + { +- status = dev->model->cmd_set->rewind (dev); ++ status = dev->model->cmd_set->slow_back_home (dev, SANE_TRUE); + } + + status = |