validity: uncrustify

This commit is contained in:
Leonardo Francisco 2026-04-10 20:42:10 -04:00
parent 5dbce7bd91
commit eb520109c6
2 changed files with 10 additions and 5 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.o
*.swp
_build
__pycache__

View file

@ -669,12 +669,16 @@ emulation_identify (FpDevice *device)
fpi_device_get_identify_data (device, &gallery);
if (self->emulation_prints->len > 0 && gallery && gallery->len > 0)
fpi_device_identify_report (device,
g_ptr_array_index (gallery, 0),
g_ptr_array_index (self->emulation_prints, 0),
NULL);
{
fpi_device_identify_report (device,
g_ptr_array_index (gallery, 0),
g_ptr_array_index (self->emulation_prints, 0),
NULL);
}
else
fpi_device_identify_report (device, NULL, NULL, NULL);
{
fpi_device_identify_report (device, NULL, NULL, NULL);
}
fpi_device_identify_complete (device, NULL);
}