kopia lustrzana https://gitlab.com/sane-project/backends
clamp film type to allowed range (bug #311685)
rodzic
dcae93ab39
commit
7dab2ed86b
|
@ -1,3 +1,6 @@
|
|||
2009-05-26 m. allan noah <kitno455 at gmail dot com>
|
||||
* backend/canon.c: clamp film type to allowed range (bug #311685)
|
||||
|
||||
2009-05-25 m. allan noah <kitno455 at gmail dot com>
|
||||
* backend/fujitsu.[ch]: backend v94
|
||||
- add side option to show which duplex image is being transferred
|
||||
|
|
|
@ -253,6 +253,8 @@ get_tpu_stat (int fd, CANON_Device * dev)
|
|||
dev->tpu.Transparency = tbuf[4 + 4 + 5] * 256 + tbuf[5 + 4 + 5];
|
||||
dev->tpu.PosNeg = tbuf[6 + 4 + 5] & 0x01;
|
||||
dev->tpu.FilmType = tbuf[7 + 4 + 5];
|
||||
if(dev->tpu.FilmType > 4)
|
||||
dev->tpu.FilmType = 0;
|
||||
|
||||
DBG (11, "TPU Status: %d\n", dev->tpu.Status);
|
||||
DBG (11, "TPU ControlMode: %d\n", dev->tpu.ControlMode);
|
||||
|
|
Ładowanie…
Reference in New Issue