mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Adapting to latest libusb
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
This commit is contained in:
committed by
Daniel Drake
parent
1ab52617c7
commit
40e7ac195a
@@ -228,7 +228,7 @@ API_EXPORTED int fp_handle_events_timeout(struct timeval *timeout)
|
||||
select_timeout = *timeout;
|
||||
}
|
||||
|
||||
r = libusb_poll_timeout(&select_timeout);
|
||||
r = libusb_handle_events_timeout(&select_timeout);
|
||||
*timeout = select_timeout;
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user