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:
parent
ce1a675dd5
commit
eae5721f8e
1 changed files with 5 additions and 0 deletions
|
@ -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 &&
|
||||||
|
|
Loading…
Reference in a new issue