genesys.patch 750 B

1234567891011121314151617
  1. --- a/backend/genesys.c 2017-04-09 03:40:32.000000000 +0200
  2. +++ b/backend/genesys.c 2018-01-22 16:04:42.731907170 +0100
  3. @@ -2069,12 +2069,9 @@
  4. /* turn on motor and lamp power */
  5. dev->model->cmd_set->set_lamp_power (dev, dev->calib_reg, SANE_TRUE);
  6. dev->model->cmd_set->set_motor_power (dev->calib_reg, motor);
  7. -
  8. - /* if needed, go back before doin next scan, by using rewind, registers and
  9. - * slopes table are kept intact from previous scan */
  10. - if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK && dev->model->cmd_set->rewind)
  11. + if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK)
  12. {
  13. - status = dev->model->cmd_set->rewind (dev);
  14. + status = dev->model->cmd_set->slow_back_home (dev, SANE_TRUE);
  15. }
  16. status =