1. 12 Dec, 2018 1 commit
    • Bastien Nocera's avatar
      lib: Fix unintialised variable warning in fp_get_next_timeout() · 0ddd11f8
      Bastien Nocera authored
      libfprint/fpi-poll.c:398:11: warning: The left operand of '==' is a garbage value
              else if (timercmp(&fprint_timeout, &libusb_timeout, <))
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/sys/time.h:162:17: note: expanded from macro 'timercmp'
        (((a)->tv_sec == (b)->tv_sec) ?                                             \
          ~~~~~~~~~~~ ^
      0ddd11f8
  2. 25 Nov, 2018 1 commit
  3. 13 Nov, 2018 1 commit
    • Bastien Nocera's avatar
      lib: Fix get_next_timeout_expiry · 11b11a9d
      Bastien Nocera authored
      If get_next_timeout_expiry() fails, and libusb_get_next_timeout()
      has no timeouts or failed, fprint_timeout will not be set, and
      we cannot compare it to libusb_timeout.
      
      Exit early if both failed or have empty queues.
      11b11a9d
  4. 09 Nov, 2018 1 commit
  5. 23 Oct, 2018 3 commits
  6. 27 Sep, 2018 6 commits
  7. 18 Sep, 2018 1 commit
  8. 05 Sep, 2018 3 commits
  9. 26 Jun, 2018 1 commit
  10. 25 May, 2018 1 commit
  11. 23 May, 2018 4 commits
  12. 18 May, 2018 1 commit
  13. 17 May, 2018 1 commit
  14. 18 Feb, 2011 1 commit
    • Sergio Cerlesi's avatar
      Fix return timeout of fp_get_next_timeout · 3dd905d4
      Sergio Cerlesi authored
      On function fp_get_next_timeout if exist fprint timeout or libusb
      timeout the function return the smaller of they.
      
      But if one of that not exist and have a smaller value the function
      return a timeout that not exist.
      3dd905d4
  15. 25 Nov, 2008 1 commit
  16. 03 Jul, 2008 1 commit
  17. 06 Apr, 2008 2 commits
  18. 13 Mar, 2008 1 commit
  19. 03 Mar, 2008 1 commit
  20. 01 Mar, 2008 2 commits
  21. 16 Feb, 2008 1 commit
    • Daniel Drake's avatar
      Add timing and polling infrastructure · 866dd941
      Daniel Drake authored
      Add timeout mechanism as an asynchronous equivalent of sleeping (uru4000
      needs this).
      
      Start implementing polling infrastructure which also accounts for pending
      timeouts. We don't expose file descriptors yet, but this is a start.
      866dd941