mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-16 00:45:53 +00:00
dell: Use the more portable g_usleep()
This commit is contained in:
parent
4debb3dcd2
commit
18b0a739e2
@ -104,7 +104,7 @@ fu_dell_dock_hid_set_report (FuDevice *self,
|
|||||||
g_debug ("attempt %d/%d: set control transfer failed: %s",
|
g_debug ("attempt %d/%d: set control transfer failed: %s",
|
||||||
i, HID_MAX_RETRIES,
|
i, HID_MAX_RETRIES,
|
||||||
error_local->message);
|
error_local->message);
|
||||||
sleep (1);
|
g_usleep (G_USEC_PER_SEC);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (actual_len != 192) {
|
if (actual_len != 192) {
|
||||||
|
Loading…
Reference in New Issue
Block a user