Porównaj commity

...

4 Commity

Autor SHA1 Wiadomość Data
Harald Welte 938d6710d5 Merge branch 'av220d2' into 'master'
avision: Make scanning multiple sheets work for AV220D2+

Closes #453

See merge request sane-project/backends!603
2024-04-25 09:03:27 +00:00
Ralph Little 0f472aa205 Merge branch 'editorconfig_inline_comment' into 'master'
.editorconfig: inline comments are forbidden

See merge request sane-project/backends!832
2024-04-19 19:53:22 +00:00
Guillaume Girol a6d63a72ec .editorconfig: inline comments are forbidden
source: https://spec.editorconfig.org/#no-inline-comments

this makes neovim unhappy, at least.
2024-02-26 12:00:00 +00:00
Harald Welte ae29f8d73c avision: Make scanning multiple sheets work for AV220D2+
When scanning a larger number of pages/sheets (e.g.20) I always had to
scan only one sheet (2 pages) at a time in xsane or simple-scan. This
works perfectly fine, you just have to push the button to scan two more
pages every second or so, after the previous two pages complete.

If you try to scan 20 pages (10 sheets) in one row, only the first two
pages will be scanned. The second sheet will be fed through the scanner
but then everything will lock up. The image data from the second sheet
will not show up, and after some seconds, SANE will report I/O errors.

This patch makes scanning any number of pages/sheets in one go work.

Closes #453
2021-03-11 20:24:57 +01:00
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -6,7 +6,8 @@
# Your editor may need a plugin for this configuration to take effect.
# See http://editorconfig.org/#download for details.
root = true ; look no further
; look no further
root = true
[*]
charset = utf-8

Wyświetl plik

@ -6939,6 +6939,7 @@ do_eof (Avision_Scanner *s)
/* we do not scan anymore */
s->prepared = s->scanning = SANE_FALSE;
s->page = 0;
/* we can now mark the rear data as valid */
if (s->avdimen.interlaced_duplex ||