diff options
author | 2025-09-11 03:24:03 +0200 | |
---|---|---|
committer | 2025-09-11 03:24:03 +0200 | |
commit | bb701b87a5b63046308b0e75f512107cc7170bcc (patch) | |
tree | 4a4be09ab437b966ab2dda4b65a5e502bed93704 /src | |
parent | ae1539e534d9d9c78ed54573d831519cfcb8741b (diff) | |
download | idevicerestore-bb701b87a5b63046308b0e75f512107cc7170bcc.tar.gz idevicerestore-bb701b87a5b63046308b0e75f512107cc7170bcc.tar.bz2 |
Increase timeout for device to enter restore mode
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 9c41423..dcdf1a6 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -1525,7 +1525,7 @@ int idevicerestore_start(struct idevicerestore_client_t* client) if (client->mode != MODE_RESTORE) { mutex_lock(&client->device_event_mutex); logger(LL_INFO, "Waiting for device to enter restore mode...\n"); - cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 180000); + cond_wait_timeout(&client->device_event_cond, &client->device_event_mutex, 300000); if (client->mode != MODE_RESTORE || (client->flags & FLAG_QUIT)) { mutex_unlock(&client->device_event_mutex); logger(LL_ERROR, "Device failed to enter restore mode.\n"); |