Update hp3900_rts8822.c

After increase the timeout from 10 to 60 seconds, the hp3970 can scan black and white 35mm films using the parameters Gray, 16 bit and 2400 dpi. More information in https://gitlab.com/sane-project/backends/issues/77
merge-requests/92/head
Cor 2019-08-08 14:58:09 +00:00
rodzic 1be824f2c5
commit 408469d94e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7786,7 +7786,7 @@ Scan_Read_BufferA (struct st_device *dev, SANE_Int buffer_size, SANE_Int arg2,
opStatus = Reading_Wait (dev, rd->Channels_per_dot,
rd->Channel_size,
iAmount,
&rd->Bytes_Available, 10, sc);
&rd->Bytes_Available, 60, sc);
/* If something fails, perhaps we can read some bytes... */
if (opStatus != OK)