mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-01-07 10:10:19 +01:00
upekts: handle more retryable verify errors
This commit is contained in:
parent
1c4ed2e225
commit
f906afb757
1 changed files with 8 additions and 1 deletions
|
|
@ -1341,7 +1341,6 @@ v_handle_resp00 (FpDevice *dev, unsigned char *data,
|
|||
fp_dbg ("good image");
|
||||
break;
|
||||
|
||||
case 0x1c: /* FIXME what does this one mean? */
|
||||
case 0x0b: /* FIXME what does this one mean? */
|
||||
case 0x23: /* FIXME what does this one mean? */
|
||||
error = fpi_device_retry_new (FP_DEVICE_RETRY_GENERAL);
|
||||
|
|
@ -1351,6 +1350,14 @@ v_handle_resp00 (FpDevice *dev, unsigned char *data,
|
|||
error = fpi_device_retry_new (FP_DEVICE_RETRY_REMOVE_FINGER);
|
||||
break;
|
||||
|
||||
case 0x1c: /* swipe too fast */
|
||||
error = fpi_device_retry_new (FP_DEVICE_RETRY_TOO_FAST);
|
||||
break;
|
||||
|
||||
case 0x1d: /* too much horizontal movement */
|
||||
error = fpi_device_retry_new (FP_DEVICE_RETRY_CENTER_FINGER);
|
||||
break;
|
||||
|
||||
case 0x1e: /* swipe too short */
|
||||
error = fpi_device_retry_new (FP_DEVICE_RETRY_TOO_SHORT);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue