summaryrefslogtreecommitdiff
path: root/backend/epsonds-cmd.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-28 05:47:52 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-28 05:47:52 +0200
commitf6019e643b0d510d267344a0a74f85f4c0a9187c (patch)
treeb87554587285d010e2c43b4a70cf85c5852023b2 /backend/epsonds-cmd.c
parentf1a78dec1fea8834a7fa849e5c6792fe1ba5128d (diff)
New git20150528
Diffstat (limited to 'backend/epsonds-cmd.c')
-rw-r--r--backend/epsonds-cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/epsonds-cmd.c b/backend/epsonds-cmd.c
index 5fb1f9d..ba80c23 100644
--- a/backend/epsonds-cmd.c
+++ b/backend/epsonds-cmd.c
@@ -607,11 +607,13 @@ static SANE_Status capa_cb(void *userdata, char *token, int len)
if (strncmp("ADFDFL1", token, 3 + 4) == 0) {
DBG(1, " ADF: double feed detection\n");
+ s->hw->adf_has_dfd = 1;
}
}
if (len == 8 && strncmp("ADFDFL1DFL2", token, 3 + 4) == 0) {
DBG(1, " ADF: double feed detection (high sensitivity)\n");
+ s->hw->adf_has_dfd = 2;
}
if (strncmp("FMT", token, 3) == 0) {