• Peter Maatman's avatar
    examples: Remove sleep call in enroll examples · 6ba9439b
    Peter Maatman authored
    The call to sleep(1) inside of the enrollment loop caused a crash
    on at least the etes603 driver.
    Because in fp_enroll_finger_img the function enters an event
    handling loop. This loop needs to start before the next libusb
    event timeout. Which would not happen in the etes603 driver
    because the timeout there was set to 1 second as well.
enroll.c 3.99 KB