mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
device: Add API to update features during probe
This allows updating the supported feature bitfield during probe.
This commit is contained in:
@@ -38,6 +38,8 @@ fpi_device_fake_probe (FpDevice *device)
|
||||
fake_dev->last_called_function = fpi_device_fake_probe;
|
||||
g_assert_cmpuint (fpi_device_get_current_action (device), ==, FPI_DEVICE_ACTION_PROBE);
|
||||
|
||||
fpi_device_update_features (device, fake_dev->probe_features_update, fake_dev->probe_features_value);
|
||||
|
||||
if (fake_dev->return_action_error)
|
||||
{
|
||||
fpi_device_action_error (device, fake_dev->ret_error);
|
||||
|
||||
Reference in New Issue
Block a user