kopia lustrzana https://gitlab.com/sane-project/backends
fix missing scan symbol broken in previous kvs20xx commit
rodzic
3cd6b7e1b2
commit
8d8eb5ee29
|
@ -349,7 +349,7 @@ sane_start (SANE_Handle handle)
|
||||||
if (st)
|
if (st)
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
st = scan (s);
|
st = kvs20xx_scan (s);
|
||||||
if (st)
|
if (st)
|
||||||
return st;
|
return st;
|
||||||
|
|
||||||
|
|
|
@ -235,8 +235,8 @@ kvs20xx_reset_window (struct scanner * s)
|
||||||
return send_command (s, &c);
|
return send_command (s, &c);
|
||||||
}
|
}
|
||||||
|
|
||||||
static SANE_Status
|
SANE_Status
|
||||||
scan (struct scanner * s)
|
kvs20xx_scan (struct scanner * s)
|
||||||
{
|
{
|
||||||
struct cmd c = {
|
struct cmd c = {
|
||||||
{0},
|
{0},
|
||||||
|
|
|
@ -111,6 +111,7 @@ static const struct
|
||||||
{
|
{
|
||||||
3, 0x80, 9, SANE_STATUS_JAMMED},};
|
3, 0x80, 9, SANE_STATUS_JAMMED},};
|
||||||
|
|
||||||
|
SANE_Status kvs20xx_scan (struct scanner *s);
|
||||||
SANE_Status kvs20xx_test_unit_ready (struct scanner *s);
|
SANE_Status kvs20xx_test_unit_ready (struct scanner *s);
|
||||||
SANE_Status kvs20xx_set_timeout (struct scanner *s, int timeout);
|
SANE_Status kvs20xx_set_timeout (struct scanner *s, int timeout);
|
||||||
SANE_Status kvs20xx_set_window (struct scanner *s, int wnd_id);
|
SANE_Status kvs20xx_set_window (struct scanner *s, int wnd_id);
|
||||||
|
|
Ładowanie…
Reference in New Issue