all: Fix delays for all operations

This commit is contained in:
Pali Rohár committed 2020-04-25 20:04:51 +02:00
1 parent e94279eecb
commit f37c2cd7e8
5 files changed
+15 -10

No files matched your search

+5
View File
@@ -361,6 +361,11 @@ int mkii_reboot_device(struct usb_device_info * dev, int update) {
if ( ret != 1 || msg->data[0] != 0 )
ERROR_RETURN("Cannot send reboot command", -1);
if (dev->data & MKII_UPDATE_MODE)
MSLEEP(100);
else
MSLEEP(3000);
return 0;
}