From 408469d94e67725fb3f9a87f4e1a5527fdca49bf Mon Sep 17 00:00:00 2001 From: Cor Date: Thu, 8 Aug 2019 14:58:09 +0000 Subject: [PATCH] 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 --- backend/hp3900_rts8822.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/hp3900_rts8822.c b/backend/hp3900_rts8822.c index bbd1e383f..5917c444c 100644 --- a/backend/hp3900_rts8822.c +++ b/backend/hp3900_rts8822.c @@ -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)