summaryrefslogtreecommitdiff
path: root/backend/niash_core.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:25:39 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-15 11:25:39 +0200
commit1edb02101a9306fc711cd422ed507d18165b1691 (patch)
treebd2d48a139bfbe869f4f49359b63097931a45e7b /backend/niash_core.c
parent2ca8a81bd0d99fe4d75c229d0e988d8ef710285f (diff)
move from support/1.0.27 to feature/1.0.27
Diffstat (limited to 'backend/niash_core.c')
-rw-r--r--backend/niash_core.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/backend/niash_core.c b/backend/niash_core.c
index e3ae2b8..b87f4f6 100644
--- a/backend/niash_core.c
+++ b/backend/niash_core.c
@@ -645,9 +645,6 @@ InitScan (TScanParams * pParams, THWParams * pHWParams)
int iHeight;
int iExpTime;
TScanParams Params;
- int iHandle;
-
- iHandle = pHWParams->iXferHandle;
/* check validity of scanparameters */
switch (pParams->iDpi)
@@ -1228,7 +1225,7 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable,
SANE_Bool iReversedHead;
int startWhiteY, endWhiteY;
int startBlackY, endBlackY;
- int startBlackX, endBlackX;
+ int endBlackX;
iHandle = pHWPar->iXferHandle;
iReversedHead = pHWPar->iReversedHead;
@@ -1265,7 +1262,6 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable,
endWhiteY = 15;
startBlackY = 16;
endBlackY = 135;
- startBlackX = 0;
endBlackX = HW_PIXELS;
}
else
@@ -1274,7 +1270,6 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable,
endWhiteY = 70;
startBlackY = 86;
endBlackY = 135;
- startBlackX = 1666;
endBlackX = 3374;
}