mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Use fp_dev to access USB device
Instead of having own own pointer in fp_img_dev
This commit is contained in:
@@ -536,7 +536,7 @@ API_EXPORTED struct fp_minutia **fp_img_get_minutiae(struct fp_img *img,
|
||||
libusb_device_handle *
|
||||
fpi_imgdev_get_usb_dev(struct fp_img_dev *dev)
|
||||
{
|
||||
return dev->udev;
|
||||
return FP_DEV(dev)->udev;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user