kopia lustrzana https://gitlab.com/sane-project/backends
- fixed typo in HP4400 sensor detection
rodzic
9f081c4508
commit
c2f747a22d
|
|
@ -1,3 +1,6 @@
|
|||
2008-09-20 Stéphane Voltz <stef.dev@free.fr>
|
||||
* backend/rts8891.c: fix typo in HP4400 variant detection
|
||||
|
||||
2008-09-20 Stéphane Voltz <stef.dev@free.fr>
|
||||
* backend/rts8891.c backend/rts8891_low.c backend/rts8891_low.h: more
|
||||
fix for HP4400 head parking, 75 dpi support for another HP4400 sensor
|
||||
|
|
|
|||
|
|
@ -3707,7 +3707,7 @@ init_device (struct Rts8891_Device *dev)
|
|||
/* initial sensor guess */
|
||||
val = dev->regs[0x44] + 256 * dev->regs[0x45];
|
||||
DBG (DBG_io, "init_device: R44/45=0x%04x\n", val);
|
||||
if (dev->sensor == SENSOR_TYPE_4400 && val == 0x00)
|
||||
if (dev->sensor == SENSOR_TYPE_4400 && val != 0x00)
|
||||
{
|
||||
dev->sensor = SENSOR_TYPE_4400_BARE;
|
||||
DBG (DBG_info, "init_device: changing to SENSOR_TYPE_4400_BARE\n");
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue