From 3e666130c29db4526d9685e63543d6430a0f535c Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 9 Apr 2019 02:30:48 -0400 Subject: [PATCH] elan: Skip more final frames to avoid bulging captures If users put their finger on the sensor between the bulge and "un-bulge" area first and then swipe, the captured image would be bad. Skipping more frames can reduce the impact, so bump ELAN_SKIP_LAST_FRAMES to 2. --- libfprint/drivers/elan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfprint/drivers/elan.h b/libfprint/drivers/elan.h index 63c811f..c574e58 100644 --- a/libfprint/drivers/elan.h +++ b/libfprint/drivers/elan.h @@ -56,7 +56,7 @@ /* number of frames to drop at the end of capture because frames captured * while the finger is being lifted can be bad */ -#define ELAN_SKIP_LAST_FRAMES 1 +#define ELAN_SKIP_LAST_FRAMES 2 #define ELAN_CMD_LEN 0x2 #define ELAN_EP_CMD_OUT (0x1 | LIBUSB_ENDPOINT_OUT)