kopia lustrzana https://gitlab.com/sane-project/backends
Remove bogus check in get_identity2_information().
rodzic
ee413cf781
commit
d1d46d8d2a
|
@ -1,3 +1,9 @@
|
||||||
|
2007-04-21 Julien Blache <jb@jblache.org>
|
||||||
|
* backend/epson.c: remove bogus check in
|
||||||
|
get_identity2_information(), causing the identification of various
|
||||||
|
Stylus CX5xxx models (among others) to fail. Olaf Meeuwissen from
|
||||||
|
Epson confirmed the check was bogus.
|
||||||
|
|
||||||
2007-04-17 Julien Blache <jb@jblache.org>
|
2007-04-17 Julien Blache <jb@jblache.org>
|
||||||
|
|
||||||
* backend/microtek.c: add missing braces.
|
* backend/microtek.c: add missing braces.
|
||||||
|
|
|
@ -6144,12 +6144,6 @@ get_identity2_information (SANE_Handle handle)
|
||||||
|
|
||||||
receive (s, buf, len, &status); /* reveive actual status data */
|
receive (s, buf, len, &status); /* reveive actual status data */
|
||||||
|
|
||||||
if (buf[0] & 0x80)
|
|
||||||
{
|
|
||||||
close_scanner (s);
|
|
||||||
return SANE_STATUS_INVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* the first two bytes of the buffer contain the optical resolution */
|
/* the first two bytes of the buffer contain the optical resolution */
|
||||||
s->hw->optical_res = buf[1] << 8 | buf[0];
|
s->hw->optical_res = buf[1] << 8 | buf[0];
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue