- handle case where linesel is rounded to 0 when scan y resolution is
  below minimal scan resolution but higher than half of the minimum
merge-requests/1/head
Stéphane Voltz 2015-12-15 06:05:07 +01:00
rodzic 753d123f36
commit 06d876f74e
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -864,6 +864,12 @@ gl124_init_motor_regs_scan (Genesys_Device * dev,
{
yres=min_speed;
linesel=yres/scan_yres-1;
/* limit case, we need a linesel > 0 */
if(linesel==0)
{
linesel=1;
yres=scan_yres*2;
}
}
else
{