Commit 251ccef9 authored by Marco Trevisan's avatar Marco Trevisan
Browse files

fpi-device: Add debug information about the enrolled finger

parent 3b993fab
......@@ -928,6 +928,7 @@ fpi_device_enroll_complete (FpDevice *device, FpPrint *print, GError *error)
if (FP_IS_PRINT (print))
FpiPrintType print_type;
g_autofree char *finger_str = NULL;
g_object_get (print, "fpi-type", &print_type, NULL);
if (print_type == FPI_PRINT_UNDEFINED)
......@@ -941,6 +942,9 @@ fpi_device_enroll_complete (FpDevice *device, FpPrint *print, GError *error)
finger_str = g_enum_to_string (FP_TYPE_FINGER, fp_print_get_finger (print));
g_debug ("Print for finger %s enrolled", finger_str);
fpi_device_return_task_in_idle (device, FP_DEVICE_TASK_RETURN_OBJECT, print);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment