upeksonly: Fix a number of typos
This commit is contained in:
parent
2ef8ace543
commit
6361c208bd
1 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ static unsigned char upeksonly_get_pixel(struct fpi_line_asmbl_ctx *ctx,
|
||||||
unsigned char *buf;
|
unsigned char *buf;
|
||||||
unsigned offset;
|
unsigned offset;
|
||||||
|
|
||||||
/* The scans from this device are rolled right by two colums */
|
/* The scans from this device are rolled right by two columns */
|
||||||
if (x < ctx->line_width - 2)
|
if (x < ctx->line_width - 2)
|
||||||
offset = x + 2;
|
offset = x + 2;
|
||||||
else if ((x > ctx->line_width - 2) && (x < ctx->line_width))
|
else if ((x > ctx->line_width - 2) && (x < ctx->line_width))
|
||||||
|
@ -296,12 +296,12 @@ static void row_complete(struct fp_img_dev *dev)
|
||||||
sdev->num_blank = 0;
|
sdev->num_blank = 0;
|
||||||
} else {
|
} else {
|
||||||
sdev->num_blank++;
|
sdev->num_blank++;
|
||||||
/* Don't consider the scan complete unless theres at least
|
/* Don't consider the scan complete unless there's at least
|
||||||
* MIN_ROWS recorded or very long blank read occurred.
|
* MIN_ROWS recorded or very long blank read occurred.
|
||||||
*
|
*
|
||||||
* Typical problem spot: one brief touch before starting the
|
* Typical problem spot: one brief touch before starting the
|
||||||
* actual scan. Happens most commonly if scan is started
|
* actual scan. Happens most commonly if scan is started
|
||||||
* from before the first joint resulting in a gap after the inital touch.
|
* from before the first joint resulting in a gap after the initial touch.
|
||||||
*/
|
*/
|
||||||
if (sdev->num_blank > FINGER_REMOVED_THRESHOLD) {
|
if (sdev->num_blank > FINGER_REMOVED_THRESHOLD) {
|
||||||
sdev->finger_state = FINGER_REMOVED;
|
sdev->finger_state = FINGER_REMOVED;
|
||||||
|
|
Loading…
Reference in a new issue