mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-09-09 04:40:06 +00:00
fpi-device: Introduce a properly defined fpi_device_emulation_mode_enabled()
Drivers may do some adjustments in test mode, initially we wanted to reduce this to the minimum but the usage of `FP_DEVICE_EMULATION` exploded, so move this instead into a properly defined variable that: - Uses GLib compiler optimizations - Is read just once per process - Cannot be misused
This commit is contained in:
@@ -282,6 +282,7 @@ fpi_device_get_current_action
|
||||
fpi_device_retry_new
|
||||
fpi_device_error_new
|
||||
fpi_device_retry_new_msg
|
||||
fpi_device_emulation_mode_enabled
|
||||
fpi_device_error_new_msg
|
||||
fpi_device_get_driver_data
|
||||
fpi_device_get_enroll_data
|
||||
|
||||
Reference in New Issue
Block a user