genesys: Fix support for large exposures on GL843

merge-requests/84/head
Povilas Kanapickas 2019-06-30 14:05:23 +03:00
rodzic f41440ef9f
commit 6d11f6df25
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1106,7 +1106,7 @@ gl843_init_optical_regs_scan (Genesys_Device * dev,
depth, ccd_size_divisor, flags);
/* tgtime */
tgtime=1;
tgtime = exposure / 65536 + 1;
DBG(DBG_io2, "%s: tgtime=%d\n", __func__, tgtime);
/* to manage high resolution device while keeping good