ccgx: Always report 100% when finished writing

This commit is contained in:
Richard Hughes 2020-04-17 11:30:28 +01:00
parent 86ae91c144
commit ec279f161c

View File

@ -1172,7 +1172,7 @@ fu_ccgx_hpi_write_firmware (FuDevice *device,
}
/* update progress */
fu_device_set_progress_full (device, (gsize) i, (gsize) records->len);
fu_device_set_progress_full (device, (gsize) i, (gsize) records->len - 1);
}
/* validate fw */