genesys: Remove special ADF handling for G4050

merge-requests/79/head
Povilas Kanapickas 2019-05-18 14:56:05 +03:00
rodzic 091fdbe6d6
commit 126e98524a
1 zmienionych plików z 0 dodań i 10 usunięć

Wyświetl plik

@ -2581,16 +2581,6 @@ gl843_slow_back_home (Genesys_Device * dev, SANE_Bool wait_until_home)
DBG(DBG_proc, "%s (wait_until_home = %d)\n", __func__, wait_until_home); DBG(DBG_proc, "%s (wait_until_home = %d)\n", __func__, wait_until_home);
if (dev->model->gpo_type == GPO_G4050)
{
/* test if we need to park XPA lamp, we check GPOADF */
RIE (sanei_genesys_read_register (dev, REG6B, &val));
if(val & REG6B_GPOADF)
{
RIE(gl843_park_xpa_lamp(dev));
}
}
/* regular slow back home */ /* regular slow back home */
dev->scanhead_position_in_steps = 0; dev->scanhead_position_in_steps = 0;