mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
vfs101: Add FIXME about fpi_imgdev_set_action_result usage
We shouldn't need to use fpi_imgdev_set_action_result(), because as fpi_imgdev_image_captured() is already there.
This commit is contained in:
@@ -767,6 +767,11 @@ img_extract(fpi_ssm *ssm,
|
|||||||
/* Notify image captured */
|
/* Notify image captured */
|
||||||
fpi_imgdev_image_captured(dev, img);
|
fpi_imgdev_image_captured(dev, img);
|
||||||
|
|
||||||
|
/* FIXME
|
||||||
|
* What is this for? The action result, and the enroll stages should
|
||||||
|
* already be handled in fpi_imgdev_image_captured()
|
||||||
|
*/
|
||||||
|
|
||||||
/* Check captured result */
|
/* Check captured result */
|
||||||
if (fpi_imgdev_get_action_result(dev) >= 0 &&
|
if (fpi_imgdev_get_action_result(dev) >= 0 &&
|
||||||
fpi_imgdev_get_action_result(dev) != FP_ENROLL_RETRY &&
|
fpi_imgdev_get_action_result(dev) != FP_ENROLL_RETRY &&
|
||||||
|
|||||||
Reference in New Issue
Block a user