Skip to content
  • Daniel Drake's avatar
    Enrollment: improved error reporting · 39271b4f
    Daniel Drake authored and Daniel Drake's avatar Daniel Drake committed
    Convert enrollment function to return a signed integer, which is negative
    on error or corresponds into fp_enroll_result otherwise.
    Now we can treat a 'FAIL' condition differently from an actual error: fail
    means that enrollment didn't complete because the data was nonsense or
    whatever (e.g. scanned a different finger for each stage?).
    
    Updated upekts accordingly.
    39271b4f