kopia lustrzana https://gitlab.com/sane-project/backends
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!58merge-requests/62/head
commit
56c01c005a
|
@ -7506,10 +7506,15 @@ reader_process (void *data)
|
||||||
return status;
|
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->page += 1;
|
||||||
s->params.lines = -line;
|
s->params.lines = -line;
|
||||||
exit_status = reader_process (s);
|
exit_status = reader_process (s);
|
||||||
|
s->params.lines = lines;
|
||||||
|
s->page -= 1;
|
||||||
}
|
}
|
||||||
/* TODO:
|
/* TODO:
|
||||||
* else {
|
* else {
|
||||||
|
|
Ładowanie…
Reference in New Issue