kopia lustrzana https://gitlab.com/sane-project/backends
rts8891: bugfix
rodzic
8bbf8d5a5a
commit
d281e7e230
|
@ -2986,7 +2986,7 @@ set_lamp_brightness (struct Rts8891_Device *dev, int level)
|
||||||
dev->regs[0x10] = 0x20;
|
dev->regs[0x10] = 0x20;
|
||||||
dev->regs[0x11] = 0x3b;
|
dev->regs[0x11] = 0x3b;
|
||||||
}
|
}
|
||||||
if (dev->sensor != SENSOR_TYPE_4400)
|
else if (dev->sensor != SENSOR_TYPE_4400)
|
||||||
{
|
{
|
||||||
dev->regs[0x10] = 0x28;
|
dev->regs[0x10] = 0x28;
|
||||||
dev->regs[0x11] = 0x3f;
|
dev->regs[0x11] = 0x3f;
|
||||||
|
|
|
@ -456,7 +456,7 @@ rts8891_move (struct Rts8891_Device *device, SANE_Byte * regs,
|
||||||
regs10 = 0x20;
|
regs10 = 0x20;
|
||||||
regs11 = 0x3b;
|
regs11 = 0x3b;
|
||||||
}
|
}
|
||||||
if (device->sensor != SENSOR_TYPE_4400
|
else if (device->sensor != SENSOR_TYPE_4400
|
||||||
&& device->sensor != SENSOR_TYPE_4400_BARE)
|
&& device->sensor != SENSOR_TYPE_4400_BARE)
|
||||||
{
|
{
|
||||||
regs10 = 0x20;
|
regs10 = 0x20;
|
||||||
|
|
Ładowanie…
Reference in New Issue