Merge branch '24-hp-scanjet-8250-duplex-broken-avision-backend' into 'master'

avision: Fix threaded ADF flipping duplex handling

Closes #24

See merge request sane-project/backends!58
merge-requests/62/head
Olaf Meeuwissen 2019-05-05 09:27:29 +00:00
commit 56c01c005a
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -7506,10 +7506,15 @@ reader_process (void *data)
return status;
}
}
/* we can set anything here without fear because the process will terminate soon and take our changes with it */
/* We run in a separate process or thread. In the latter case,
any change we make to s before the reader_process invocation
needs to be reverted. */
SANE_Int lines = s->params.lines;
s->page += 1;
s->params.lines = -line;
exit_status = reader_process (s);
s->params.lines = lines;
s->page -= 1;
}
/* TODO:
* else {