mf8[25]00 use generation 2 protocols

merge-requests/1/head
Rolf Bensch 2014-11-18 09:04:18 +01:00
rodzic 1fa16a1aab
commit 98125c97d6
1 zmienionych plików z 2 dodań i 5 usunięć

Wyświetl plik

@ -474,11 +474,8 @@ iclass_open (pixma_t * s)
mf->cb.cmd_header_len = 10;
mf->cb.cmd_len_field_ofs = 7;
/* set generation = 2 for new multifunctionals
* some new scanners use generation 1 protocol */
mf->generation = (s->cfg->pid >= MF8030_PID &&
s->cfg->pid != MF8200_PID &&
s->cfg->pid != MF8500_PID) ? 2 : 1;
/* set generation = 2 for new multifunctionals */
mf->generation = (s->cfg->pid >= MF8030_PID) ? 2 : 1;
PDBG (pixma_dbg (3, "*iclass_open***** This is a generation %d scanner. *****\n", mf->generation));
PDBG (pixma_dbg (3, "Trying to clear the interrupt buffer...\n"));