mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-05 08:36:40 +00:00
logitech-bulkcontroller: Reset the progress counter when required
This commit is contained in:
parent
9a33c96b7c
commit
b9172ae5c5
@ -833,6 +833,7 @@ fu_logitech_bulkcontroller_device_write_firmware(FuDevice *device,
|
||||
&error_local)) {
|
||||
no_response_count++;
|
||||
g_debug("no response for device info request %u", no_response_count);
|
||||
fu_progress_reset(fu_progress_get_child(progress));
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -868,6 +869,7 @@ fu_logitech_bulkcontroller_device_write_firmware(FuDevice *device,
|
||||
* explicitly now
|
||||
*/
|
||||
g_usleep(G_USEC_PER_SEC);
|
||||
fu_progress_reset(fu_progress_get_child(progress));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user