UC630 wants 49 bytes long window descriptor block, not 48.

This fixes "too bright" image problem with this scanner.
---
 backend/umax-uc630.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/umax-uc630.c b/backend/umax-uc630.c
index 26c6831..5662330 100644
--- a/backend/umax-uc630.c
+++ b/backend/umax-uc630.c
@@ -167,7 +167,7 @@ static unsigned char UC630_INQUIRY[] =
        0x00,
 
 /* 92-93 window descriptor block length */
-       0x00, 0x30,
+       0x00, 0x31,
 
 /* 94 optical resolution residue (1dpi) */
        0x00,
-- 
Ondrej Zary

Reply via email to