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.
This commit is contained in:
parent
2babfa0625
commit
3e666130c2
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
/* number of frames to drop at the end of capture because frames captured
|
/* number of frames to drop at the end of capture because frames captured
|
||||||
* while the finger is being lifted can be bad */
|
* 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_CMD_LEN 0x2
|
||||||
#define ELAN_EP_CMD_OUT (0x1 | LIBUSB_ENDPOINT_OUT)
|
#define ELAN_EP_CMD_OUT (0x1 | LIBUSB_ENDPOINT_OUT)
|
||||||
|
|
Loading…
Reference in a new issue