[fprint] uru4000, number of enroll stages

Martin Hejnfelt martin at duffman.dk
Tue Jun 24 11:59:03 PDT 2014


On Tue, 2014-06-24 at 21:34 +0300, Timo Teras wrote:
> Would the following fix it?
> 
> --- a/libfprint/drivers/uru4000.c
> +++ b/libfprint/drivers/uru4000.c
> @@ -773,11 +773,7 @@ static void imaging_run_state(struct fpi_ssm *ssm)
>                 if (!urudev->profile->encryption)
>                         fpimg->flags |= FP_IMG_V_FLIPPED | FP_IMG_H_FLIPPED;
>                 fpi_imgdev_image_captured(dev, fpimg);
> -
> -               if (urudev->activate_state == IMGDEV_STATE_CAPTURE)
> -                       fpi_ssm_jump_to_state(ssm, IMAGING_CAPTURE);
> -               else
> -                       fpi_ssm_mark_completed(ssm);
> +               fpi_ssm_mark_completed(ssm);
>                 break;
>         }
>  }

Hi Timo,

Thanks for the quick reply, but unfortunately it makes no change (I
verified that I was indeed running the corrected lib, by inserting a
small fp_dbg output)... It's almost like it needs some intermittent
state first, since doing only 1 stage enrollment works fine, and then
doing a new one afterwards also does, but more subsequent stages does
not...

Regards,
Martin Hejnfelt



More information about the fprint mailing list