kopia lustrzana https://gitlab.com/sane-project/backends
redundant variable bitposn and redundant function kodakaio_rxflush commented out
rodzic
2e15add10a
commit
26572efbd1
|
@ -1,3 +1,8 @@
|
||||||
|
2015-09-13 Paul Newall <p dot newalls at ntlworld dot com>
|
||||||
|
* backend/kodakaio.c:
|
||||||
|
redundant variable bitposn and redundant function kodakaio_rxflush
|
||||||
|
commented out.
|
||||||
|
|
||||||
2015-09-09 Stéphane Voltz <stef.dev@free.fr>
|
2015-09-09 Stéphane Voltz <stef.dev@free.fr>
|
||||||
* doc/sane-genesys.man, doc/descriptions/genesys.desc: No LiDE 120
|
* doc/sane-genesys.man, doc/descriptions/genesys.desc: No LiDE 120
|
||||||
support.
|
support.
|
||||||
|
|
|
@ -240,7 +240,7 @@ static int K_SNMP_Timeout = 3000; /* used for any auto detection method */
|
||||||
static int K_Scan_Data_Timeout = 10000;
|
static int K_Scan_Data_Timeout = 10000;
|
||||||
static int K_Request_Timeout = 5000;
|
static int K_Request_Timeout = 5000;
|
||||||
|
|
||||||
static int bitposn=0; /* used to pack bits into bytes in lineart mode */
|
/* static int bitposn=0; was used to pack bits into bytes in lineart mode */
|
||||||
|
|
||||||
/* This file is used to store directly the raster returned by the scanner for debugging
|
/* This file is used to store directly the raster returned by the scanner for debugging
|
||||||
If RawScanPath has no length it will not be created */
|
If RawScanPath has no length it will not be created */
|
||||||
|
@ -1029,12 +1029,13 @@ and returns appropriate status
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* unused function
|
||||||
static ssize_t
|
static ssize_t
|
||||||
kodakaio_rxflush(KodakAio_Scanner *s)
|
kodakaio_rxflush(KodakAio_Scanner *s)
|
||||||
/*
|
|
||||||
Tries to get 64 byte reply
|
Tries to get 64 byte reply
|
||||||
and returns number of bytes read
|
and returns number of bytes read
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
SANE_Status status;
|
SANE_Status status;
|
||||||
unsigned char rxbuf[64];
|
unsigned char rxbuf[64];
|
||||||
|
@ -1047,6 +1048,7 @@ and returns number of bytes read
|
||||||
DBG(5, "%s: flushed, %d bytes\n", __func__, (int)n);
|
DBG(5, "%s: flushed, %d bytes\n", __func__, (int)n);
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* high-level communication commands
|
* high-level communication commands
|
||||||
|
|
Ładowanie…
Reference in New Issue