Remove bogus check in get_identity2_information().

merge-requests/1/head
Julien BLACHE 2007-04-21 10:12:48 +00:00
rodzic ee413cf781
commit d1d46d8d2a
2 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -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>
* backend/microtek.c: add missing braces.

Wyświetl plik

@ -6144,12 +6144,6 @@ get_identity2_information (SANE_Handle handle)
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 */
s->hw->optical_res = buf[1] << 8 | buf[0];